I was working on a virtual machine and while “wrestling” with a problem I found my display now showed my desktop upside down! Really strange.
After playing around with a few key combinations, I found that ctrl-alt and the up arrow key corrected the problem.
Never knew this could happen. Playing around with the arrow keys showed the display would go in all directions.