Use the kill command in the Command-Line Debugger Shell to stop program execution during a debugging session.
Alternatively, choose Run > Terminate or click the Terminate button in the Debug view toolbar to stop program execution.
The operating system surrenders control to the debugger, which stops the program execution.