For security reasons, you should log out of NetSuite manually. To do this, hover over your name in the top right corner and choose Log Out from the dropdown list:
After a period of no activity in the UI, you are automatically logged out of NetSuite. The default session timeout value is 180 minutes.
An Administrator can configure a custom session timeout. For more information, see User Interface (UI) Sessions.