kill -9 $$

I hate it when I keyed in a password on a shell prompt and pressed enter already.

This is short, easy to remember and doesn't do nasty things like editing your history file...

PS: Works definitely with bash, dont know about others.