The ejection seat on my planes went right through the canopy! But, it would destroy the cockpit, and...ejecting is dangerous under the best of circumstances, lethal under the worst.
I was reminded of two scenes when the subject of ejection came up. The faulty canopy release on the F-14 in Top Gun that killed "Goose" when he struck the canopy on the way out. The other was the AV8 Harrier. That canopy is destroyed with detonation cord (shattered) before the ejection seat is activated. Even under the best conditions a ejection can injure or kill the pilot. It is definitely a last resort.
I went through the aviation survival training class for my current project tasks. The parachute training was little more than strapping it on and some perfunctory description of checking shroud lines, cutting a "tail" and remembering to wait until your boots strike the water to unclip. I really hope that is never necessary.