That’s chrome being a dick - it chrome has an option to undo that (and it’s cmd-q they dickified, not cmd-w).