Hi Tar,
This sometimes happens either from moving the plug wire a lot (removing and re-installing on plug) and/or because of the angle at which you sometimes have to mount the plug wire on the engine to clear the cowl. In some boats, the wire ends up being pulling sideways on the coil in order to get it positioned correctly for cowl clearance.
I guess you could try repairing it (if it's not pulled out completely) with either some epoxy or that brush on rubber coating they sell for tools. Would be best to make sure the coil is mounted with no stress on the wire if possible. CC Racing sell a new coil relocator bracket that doubles as a throttle bellcrank bracket. This might be an alternative also. One thing is for sure, if it pulls out completely, you most likely will have to replace the coil.
Been there.