Can I log out of Messenger?

You can't log out of an account on Messenger, but here are some things you can do to reduce notifications, make yourself unavailable or stop getting messages from certain people:
Note: If you think you've left yourself logged in on someone else’s phone, you can always end an active session from your Facebook app's Security Settings.