Use the choice from the File menu to end the debugging session.
The Close debugger choice allows you to end the current debugging session. When you select Close debugger, the Close Debugger message box prompts you to confirm that you want to end the debugging session.