C.C. did in fact drive Mao insane by giving him the Geass, which he lost control of. If you are referring to her tossing him to the side, I would say that worsened his condition since he was alone with his growing problem, but Mao was probably doomed the second he lost the ability to control the Geass. Nobody can stay sane with everyone's voice in their mind at all times.
(no subject)