Is there a way to abort a command during the dreaded "Not Responding" prompt?

Instead of waiting for it to finish, or worse yet having to close the program without saving it, is there a way to abort a command so you can try something else?