The original category is retained in the edit history:
So all you would have to do is click the revert button from the edit history: