The shortcut key to close a selected window is:

A ) Ctrl + F4

B ) Alt+ F4 ✅

C ) Alt+ F5

D ) Alt+ F3