If you have the Chat window open in a Tab, and switch to another tab, you may be logged out of the Chat.