Some graphics cards come with utilities or an option to rotate your display.
Most likely to be found in the Display/Advanced option.
You may also be able to turn off Display rotation so the problem does not
happen again.
Click on Start/Control Panel/Display/Setting Tab, Advanced button or it
could be an
Icon in the control panel specifically for the Video Card you have.
The following may also work: CTRL+ALT+Up arrow on some but not all video
cards.