The Cancel Button in the SQL Edit program can be used to exit the program without saving any changes that have been made to the current sql query.
More:
Save Button