Well, you can kill the server with % killall -15 Xorg
(or -9 to show it how angry you are), which should bring down anything running under X. I don't know what the compiz process calls itself, but you could do the same to that.
I'm not saying this is the best way, but it should work.