It is located just right below the “Last Account Activity”.
You will view it in the bottom right corner of your inbox. Here are the detail steps mentioned below to log out remotely if you’ve forgotten to log out: Press on it if you forgot to log out from another computer. The Details screen consists of a “ Sign out All Other Sessions” button. If someone signs into your account from an unknown location, Google will send you an alert message. Tap the details link to view all the IP addresses that have opened your account. You need to first, sign into Gmail on your home computer and scroll all the way down to the bottom right of the inbox where Gmail shows the last time your account was signed into. Here, we’ll not only show you what needs to be done but also how to find suspicious activity in your webmail account. If you’ve forgotten and have Gmail logged in on another computer, there’s a quick and simple fix for logging out your account remotely.
In the case of cyber cafes, forgetting sign out might cause a threat to your Gmail account security and privacy as well. However, if you forgot to sign out from those devices, it might become a threat to your privacy. Sometimes you access your Gmail either from a school/office computer or from a cyber cafe, a friend's place, or someone's mobile phone etc.