CTRL-ALT-[F1] to [F6] are usually bound to virtual consoles, and are independent of X.
C-A-F7 is usually bound to the X session, but that may vary by Linux distribution. You may want to experiment with that before your next test run ;)
If your X locks up the next time, try CTRL-ALT-F1, or should...