If the above methods do not work, you can force quit the app. The following methods will close Safari gracefully.
If this option appears to be disabled, let’s first try to close the Safari normally. In the Safari menu bar, while in Safari, choose Safari and Quit Safari. See also: Safari Isn’t Responding, Keeps Crashing or Freezing How to quit Safari
This guide will help you fix this problem.