Use File - Exit Sonnet if you wish to exit Sonnet. If you have not saved your circuit(s) to disk, you are asked for a verification. Once your project(s) is (are) saved or discarded, the Sonnet session window is closed.