You can cancel a query that has been
executed (see
Execute a Query) and is still running. However, a SQL statement that is hung or deadlocked in the DBMS server cannot be canceled.
Click Cancel in the status bar at the bottom of the query Results tab (see
Query Status Bar Fields).