When exiting RE with a query (or more) open that hasn't been saved, a dialogue box asking whether to save it appears. The options are: Yes, No or Cancel.
Cancel behaves the same as No, when it should cancel the exit operation (like normal Windows' applications) and allow one to keep working in RE.