While working in Photoshop tonight, I accidentally rotated the canvas. I found out this was caused by holding down “R” and moving my mouse. This has happened to me before, and I always forget how to get out of it. After hitting undo, nothing happened.
The fix?
Simply press “Esc”, and your canvas should return to normal. That simple!