Open a terminal
Type in your root password
X will shut down and you'll end up at a text mode login screen. To start X back up again, you do (amazingly enough) a startx.
X will also start up next time you reboot, which can be done with an init 6 as root.
If you get "init: command not found", then use /sbin/init instead of just plain init.