Anyone who has access to your Gmail can reset passwords and cause other problems.
To avoid these problems, sign out of Gmail when you’re not using it.
If you forget to sign out after you use Gmail on someone else’s machine, do it remotely.

In the upper-right corner of Gmail, select your profile photo or initials.
At the bottom of the menu, selectSign out.
To sign out of another account you’re logged into, chooseSign out of all accounts.

From Gmail.com, in the upper-left corner of the screen, tap the three horizontally stacked lines.
At the top of the screen, tap your email address.
On the iPad version, tap your email address at the bottom of the page and then tapSign out.

On the bottom of the screen, tapSign out of all accounts.
Optionally, you might remove the Gmail accounts from the list of accounts that were signed in.
After signing out, tapRemoveto snag the accounts you want to delete from the page.

This doesn’tdelete your Gmail account.
It only removes it from your phone until you log back in.
From the Gmail app, tap the image in the upper-right corner.

Tap the switch next to the account you want to turn off to deactivate it temporarily.
Return to this screen and tap the switch again to turn the account back on.
From a computer, sign in to your Gmail account.

Select your Google profile picture near the upper-right corner of the page.
SelectManage your Google Account.
Scroll down toYour devices, then selectManage devices.

Select theMore Menufor the machine you want to block from accessing your Gmail account.
Confirm your decision in the next window.
FAQ
Todelete a Gmail account, go toGoogle Account Settingsand selectData & privacy.

Find the section calledDownload or delete your dataand chooseDelete a Google Service.
Sign into your account, choose your Gmail account, and click thetrash can.
Tochange your Gmail password, selectSettingson the Gmail inbox screen and chooseSee all tweaks.
Go to theAccounts and Importtab and theChange account settingssection and selectChange password.
Enter the current password, enter and confirm the new password, and selectChange Password.
If you want to delete all your Gmail emails, select a folder, such asAll Mail.
nudge the checkbox at the top of the screen and chooseSelect All Conversations.
Click thetrash canicon to delete all emails in the folder.