How do I close a game?

Pressing the shift + tab key combination will open the options menu, and from there, you can end your gaming session.