A good story and the lesson is your yacht is able to survive conditions better than you or the crew. I always admired the C22 as a good seaworthy yacht. Now some observations.
A downhaul on the jib halyard lead to the cockpit so you can get it down without going to the bow is valuable. In your story you would have not lost the halyard.
Sort the outboard out so you can get it working to turn into the wind to reef.
I like two reefs, a big one on a single line system to get the sail down, you can always rig the first reef after putting in the second reef and then shake the first reef out.
Slugs on the mainsail are the skippers best friend when you have a well setup single line reef.
Lazyjacks are handy with a single line reef.
You figured out never head to shallow water in a blow unless you know what your doing.
The C22 is one yacht that should hove too safely in extreme conditions, figure it out.
The sea anchor is a great device when you have open water.
Never give up.