To logout from WhatsApp Web, click on the three vertical dots and select the Log out Option.