Why not splice the original cable - the one that does have a connector and was used to on the stern mount - into the new cable that goes up the mast? Not sure is the wqires in the two cables are different in some way. But I've cut
radar cables that run down the mast and joined the two ends using a junction box.