How to logout from whatsapp web is a manual process, as it involves a link in the App Settings panel that you need to click on. If your internet connection is good enough, then you will also be able to see a logged out icon next to your name on top of the Whatsapp message list.