Blender 2.91.0: How to re-align the local axis of an object that has 0 rotations to the global axis?
Besides primary transformations blender has Delta Transform which useful in some cases.
It's located in Properties &gt; Object &gt; Transform &gt; Delta Transform:

You can transfer primary transformations to deltas by applying them:

Blender hasn't Apply Delta Transform operator. You can only copy Delta transform to primary manually, reset deltas to default then Apply main transform to data.