Is there a shortcut in IntelliJ IDEA to close all opened windows?
There is no shortcut in the default keymap, but you can assign it in Keymap settings for the Close All action.