I broke the tiller pilot off its mount while attempting to beat into a short sea and force 7 winds a few weeks ago. The pilot has a small steel leg that fits into a post attached to the boat, and allows it to tilt and swivel while it pushes and pulls the tiller. I was standing next to the tiller pilot when a wave made me lean against it, breaking the leg out of its socket.
I kept all the pieces and attempted a repair with epoxy resin the next day, but it didn’t hold. It took me a little while to think of how to repair it properly. In the meantime, I’ve been lashing it to its mount. It works OK that way, but it takes too long to get it out of the way when you want to take over steering yourself.
While wind-bound in Wells-next-the-Sea I visited one of the excellent hardware shops and bought a large washer and a bag of tiny self-tapping screws. I managed to drill holes in the washer using my little hand drill.
I then re-glued the socket back together using Bostik glue for hard plastics. I placed the washer over the top, drilled tiny pilot holes for the screws into undamaged parts of the socket, and screwed the washer down.
That should hold it!