Just a little PSA, since I did not know this was a thing till I did it on accident. With an object selected in object mode. If you hit D + R/G. It allows you to rotate or move the origin. I had no idea this was added/ a thing. Super cool and useful for local transforms!
That's not part of the default keymap for windows and Linux. Maybe you hit ctrl+period by accident which switches to use origin transform mode.