That is a bit dependent on the location of the wires. some wires connect inside the mast, some come out side and connect with a through deck fitting.looking to see what kind of connectors you actually use to connect the mast wiring to The boat wiring do you something that can be taken apart like on a trailer hitch
Sorry, I'll be off the grid for a few days on a long passage, so I won't able to follow up with this.