When an event or judgment is treated as if it never happened.
https://thelawdictionary.org/annulment/