It's not supposed to be possible to crash the desktop in Linux, but of course Sammi does it. To issue a shutdown without the ability to use the mouse, you have to go to a *virtual console*, which you can get to by CTRL-ALT-F1. After that, you can log in, do a proper shutdown command, or just skip all that and to a three-fingered salute.