If changes have been made that you’d like to reverse, use Command Z. However, if an app is not responding, you might need to ‘Force Quit’.