undid
un-did
verb
Caused the failure, ruin, or destruction of something previously established or achieved.
"His foolish decision undid years of effort."
verb
Reversed a previous action, such as unfastening, opening, or cancelling something.
"She undid the top button of her coat."