It is annoyingly buried. Tap your profile photo top left, scroll all the way to the very bottom, and there is a Log out row under the account section. On some versions you have to go through the account switcher and remove the account from there instead.
Tried the top answer and it fixed it instantly. Cheers. – Amir Reyes 10mo ago
This should be pinned honestly. – Sara Bishop 10mo ago
0
If you truly have no log out option (older builds hide it), the reliable way is Account Center, switch to the account, then Log out, or just remove the account from the switcher. Clearing the app data also signs you out as a last resort.