I understand the rationale for not allowing people to change their votes on the public Stack Overflow unless the post gets edited, even if I don't agree with it. However, I don't think that rationale applies for Stack Overflow for Teams, as people there usually aren't trying to sabotage fellow users for the benefit of internet points.
It should be pretty easy to implement - just increase the grace period for changing people's votes to a very large period of time.
Can we allow people to change their votes on Stack Overflow for Teams?
For those interested, what had happened was that I asked a question, and upvoted the answer before checking whether or not it worked.