To log out form Google is very simple.
In WhatsApp Web, go to Settings and Log out. Settings is the gear icon at the bottom of the left corner.
In WhatsApp APP you need to delete your account. There is no logout as it is. You need to go your account and delete the account to remove your account.
0 - 0