Ending a Command
Click End to terminate the active command or function, whether or not you have completed it. You can also terminate any command or function by selecting another command.
In the case of functions, clicking End will terminate the currently active function, but the previously selected command will remain active.