Use File ⇒ Exit Sonnet if you wish to exit Sonnet. If you have unsaved projects in other tabs, you are asked for a verification. Once your project(s) is (are) saved or discarded, the Sonnet session window is closed.