From the ArcMap menu, click the File menu and click Exit.
Click Save Changes to save any changes, Discard Changes to discard any changes, or Continue Working to continue working on your analysis.