Connecting a VGA monitor via Thunderbolt to a MacBook Pro
Open System Preferences → Display.

Hold ⌥option which will change the ‘Gather Windows’ button to ‘Detect Displays’.

Clicking it might detect your VGA.