How do I close only one Google Chrome window in macOS using mouse? [duplicate]

Solution 1:

File → Close Window (⇧⌘W).

⌘W closes the tab which will close the window if this is the last tab, but ⇧⌘W closes the window containing any number of tabs.

This menu and shortcut is standard macOS working in all tabbed apps implementing macOS tabs, and Google Chrome has applied this shortcut to their tab implementation.

Solution 2:

To close the current window, press Command+Shift+W.

Another way to do so is to click on File > Close Window.

Refer to the attached screenshot: enter image description here