Been thar...done that!.,,,,,,,,,,,,,,,,,,,,,,,,
In fact, I had both halyards run up the mast accidentally during the last sailing season, at different times of course. Not wanting the hassles of dropping the mast, I duct taped two extended whisker poles together and secured a coathanger hook to the end of one with duct tape. Then it was just a matter of balance while reaching the snap schackle with the hook. Simple and it worked. Good luck!