Ctrl + Alt + Up arrow key will fix that.
Looks like you can use each arrow key to rotate your screen. Why does a short cut exist for such thing? Who on earth would ever need to make their screen upside down in a hurry?? Maybe it’s a programmer thing. Or maybe it’s just because they can.
Well, at least it gave me a good laugh over this.