The Exit operation in the File menu quits the editor. If changes have been made since the last save you will be asked whether you wish to save these changes. Answering "Cancel" abandons the exit process and provides control of the editor again, otherwise the appropriate action will be taken and the editor quitted.