Even more interesting reverse of that, hairworms that infect grasshoppers will once mature cause the hosts to jump into water and drown where the worm then reproduces before starting the cycle again.
And the craziest thing is, the cordyceps fungus doesn't actually infiltrate the ant's brain! Autopsies found the fungus spreads all over the ant's body, but not its brain!
But yeah, fungus directly controlling ant muscles, while it's brain is helpless is quite terrifying. Also terrifying is the raise of fungus infections in humans recorded in hospitals in India and UK in the recent years. If they do adapt to living in a warm human body we will have a major problem - fungus are killing more trees, bugs and reptiles than viruses and bacteria combined, the air in our cities is full of their spores.