It is very useful to be able to abandon a file without saving any of the changes you have made since the last time you saved it. To do this type ^X^C.
This asks if you want to leave without saving the changes, to which you should reply Y.