The Exit command on the Application menu is used to close all open screens and worksheets, save the project database, and then exit the application.
When you select this command, you will be prompted to save your changes before closing.