Hit Ctrl+Alt+Backspace.
Xorg should restart.
In Virtualbox, use the Input->Keyboard menu and select "Insert Ctrl-Alt-Backspace".