If you’re in the middle of an automation, and you have unsaved changes, nothing’s stopping you from reloading or exiting the page. There should probably be an onbeforeunload event to stop that from happening, or maybe even autosave.
Also, if you want to leave without saving your changes, you should be able to. It appears you cannot. You have to click the Save button.