How can a cloth simulated sail be prevented from flying away?
A few vertices should be added to a vertex group:



this vertex group is assigned in the cloth settings with ticked Pin option.



Besides that I found that a vortex works better than plain wind force.