That will effectively sign you out of O365 and prevent anybody else from being able to access your account from any shared workstations.
We recommend closing the tab/window and quitting your browser entirely.
You have to delete your old account and create a new one using your full email address username This has the unfortunate result that your inbox will need to fully re-sync causing you to have to re-download all your mail stored on the servers.