At any time during an active session that the Debugger has control (that is, program execution is suspended), you can end the session by clicking
Terminate

on the
Debug view toolbar or context (right-click) menu. A session terminates automatically when the program completes execution.