Writing /q in the console shuts down the game. Same with /qui gon jinn or whatever.
edit: It's there for convenience. When someone kills you, you just go to console and quickly type /q
There's also the /rq command that's been added recently. It stands for ragequit. You can type the reason for...