To leave after the tutorial, press the ESC key. That brings up a page with a quit button.
Press that, and you'll be taken to your character screen. From there, hit "Exit," and you'll be logged out. It's a straightforward three-step process once you know where the menus are.