It happened to me a couple of times. May there be a warning dialog before that? Because if you unlog, you’d need to log in again with empty login and password forms. And it’s just one tap from other accounts in account switching menu.

Or maybe put it onto the bottom of a sidebar? Idk.