Well there are two ways i can think of, 1st would be to use some of this Self-Amalgamating Tape and the 2nd would be to cut the cable back & re-fit a plug on the end & buy this pre wired socket ( you can cable tie the new socket / plug under the A frame ) buy a new 13pin plug to fit on the end ( you can cut it to whatever length you req )
Sproket.