Pull down the File menu and choose Exit.
There is no need to explicitly save any data before exiting. Your configuration is saved automatically.