The Exit command is the only command that will abort the symbol editor. When the command is selected, you are prompted with the safety request 'Release editor'. You have to answer the safety request prompt with a 'YES' to dismiss the editor. This should act as a reminder if you have forgotten to save a component.