Cloth tie to object

Hey guys

I’m currently trying to make a sailing ship and wanted to make the sail with cloth. Now i want the sail to stick with the shaft. I know there is the pinning option in the cloth sim but I want certain vert. of my sail follow another mesh so I can fold and unfold the sail with moving the shafts.
Any idea how to achive this?

greets
Kiddy

Armatures, maybe.

ClothDemo.blend (705 KB)

Tiny example.