More times than not, when I use esc - EXIT GAME my computer gets frozen and I have to log out and all that jazz. I find that disconnecting the ethernet cable and waiting for the message that you have been disconnected from the server works better. Simply click OK.