Why does Alt+F, D close the Firefox window? - eviltoast

I’ve accidentally tapped the D key when using Alt+F to open the File menu a few times. There is no matching shortcut or close-window command in that menu, yet it instantly closes the window. Can someone tell me why?