I was 9 when Dad hit a stump a full throttle with his 27 foot fin keel US yacht. threw me across the cabin, and smacked open my head, had a lump for a week.
I was 9 when he ran hard aground on rocks (same boat), so hard actually we had to dive the boat to look for damage.
Earlier still I was 4 yo when he filled the cockpit with water on his Oday Daysailor, scared the hell out of me, I vowed to never go on the boat again.
At age 8 Dad had us out with too much sail up on his Montego 19, thunderstorms popped up, and we sufferred any number of knockdowns, and I vowed to not sail again.
You know... You cannot keep me from sailing today.
First, give yourself a break... Stuff happens.
Second, talk to your daughter about it... let her know you care that you have shaken her confidence, and you would like to make it up to her, maybe she can suggest her own best way forward.
Third, please check the boat... rocks ain't no laughing matter. If its any consolation, dad's boat was fine... chunk out of the keel (lead keel), took some fairing, but nothing serious.
Funny had a similar conversation today while sailing with my brother (yes July 4) about my brother having ,run aground when he had his US 25 out, and hitting a rock at speed (same lake as Dad with his US 27, only many years later) he said same thing, hunk out of the keel (he was cutting a point to save fuel)... his son was I think 10? He's also an excellent sailor today (the son).
Not the end of the world. Don't let it be the end of your attempt at becoming better. We are all learning, and nobody is ever perfect.
Keep us posted.
Oh and getting back on a horse is a great suggestion, but if horse bucks your keester off, it ain't always a good plan to get back on the SAME horse. Take it from a person who owns and rides a lot of horses. That analogy only applies so far