When a Script is executing Steps, the Script window Running banner is displayed on the Toolbar, as shown below.
Script Running Banner
This red Stop Sign button appears on the left side of the Script Running Banner.
Press this button to stop the Step execution in all Script windows