It's possible to close all the windows on your Mac computer in Safari with a keyboard shortcut or the top toolbar. Here's how to do it.
You can quickly switch between windows on your Mac with a few keyboard shortcuts, as well as one involving the trackpad on a MacBook.