I'm not sure how to close the GUI other than killing it (which will work) but I'm certain that's just my lack of knowledge. Probably shut down the xserver or something.
And one thing you'll have to do when learning to use Linux: Use Google (or any other search engine) and read. :-D