In order to terminate your SAP session you can:
* Select the System -> Logoff option from the main menu
* Click on the Windows "X" icon in the top-right corner of SAP window.
* Execute /nex command from the SAP command field. You will be prompted to confirm if you want to shutdown your session.