To end the current database session, select Session ®Disconnect.
The database system automatically ends the database session if:
● You close SQL Studio.
● You log on to the database instance as a different database user.
● The timeout value is exceeded.