If you run yur halyard behind shrouds , the mast will trap the halyard when it rotates , if its infront it can,t get trapped , simple .

It goes in front of shrounds as Simon says .