You're doing the right thing, AJ07.
Once you Undo the added transaction, the Match Status that appears in the Audit History is Deleted. This means the added bank transaction into your account is removed from your register.
You can check out this article for more details about adding, categorising, and matching bank transactions: Add and match downloaded banking transactions.
You can always reply to this post if you need anything else. I'm here to help.