So once you successfully vote in person (other than by provisional ballot), your vote is cast and cannot be "revoked". Ditto if you received an acknowledgement that your mail-in ballot was accepted.
There are weaknesses in our election infrastructure, but canceling individuals' ballots once they've been cast is not one of them.