Had this happen on a night surf once - whole boat went black and sputtered out. Talk about freaky.... In my case it was a lose engine wiring harness plug. Simple fix - hope yours is too!