Common myth: Beethoven wrote the Ninth while completely deaf. Nuance matters.
So: Yes, he was functionally deaf during composition—but not "suddenly struck deaf while writing it." He'd lived with worsening loss for 25+ years, developing internal hearing (audiation) that let him compose mentally.
Beethoven conducted (shared with Michael Umlauf). The audience erupted. He couldn't hear the ovation. Contralto Caroline Unger turned him around to see the standing applause—a moment immortalized in music history.
The Ninth wasn't written in silence. It was written through it.