Andy 1942 Another member recently faced this dilemma when his kids played around with his keyboard.
Key board shortcuts for screen orientation include Ctrl+Alt + Left, Right, Up or Down keys will rotate the screen to various positions through 360 degrees.
In your situation Ctrl+Alt+ Up arrow, it should return you to landscape orientation.