Exiting Notepad++

To exist Notepad++, select File->Exit or press the close button in the titlebar. If you have any unsaved changes, Notepad++ will ask you if you want to save these changes (or cancel the exit process). When exiting, Notepad++ will save the current session by default (see the section Session management) so it will reopen it when Notepad++ is restarted later on. To change this behavior, see the section Preferences.