As someone who’s worked multiple elections, your ballot is never tied to your name/ID. Even if someone broke into the box and stole the ballots, there’s no way to know whos is who.
When ballots are audited/recounted, its based on things like the number of ballots vs the number of recorded voters, the signature of the precinct officer, and the qualities of the ballot itself. No identifying informationm.