Skip to main content

was there a time in mathematics when a counterexample was wrong?

I am doing a essay on the knowledge of Mathematics and how we know what we know to be true. I was just wondering if there was an example in mathematics that a theorem was disproven by a counterexample, but then the counterexample was wrong and the theorem stayed true after all?

Thanks for your time. :)