Blender hangs on exit with console window open?
Clicking in the console window and accidentally selecting some text will put the console window into 'selection' or 'mark' mode to mark the part you want to copy to the clipboard. This will cause any additional output to the console to ‘hang’ (it blocks any further output to the console so the visible text doesn't change while you're trying to mark your selection) which will block Blender when it tries to output additional text to the console such as just before it exits. Pressing Return or Esc while on the console window will accept or cancel selection mode, allowing Blender to continue outputting to the console so it can continue.

This is how the Windows console works (rather than being a Blender feature) and the only way of avoiding it is to be careful when switching to the console window and avoid selecting any text (or immediately cancel 'mark' mode by pressing Return or Esc).