To log off, press your Escape key. You'll see three options: End Game, Cancel, and (I believe) Log Off. Click End Game if you want to close the game for the time being. Don't worry, you can always jump back in by reopening it later.