Maritime NZ took action against Jan's owner Wild Fish, which was fined $27,200 in the North Shore District Court yesterday.
Maritime NZ alleged that Wild Fish had no "effective system for monitoring the sleep of crew members to ensure that overly fatigued crew did not go on watch".
Maritime NZ's Neil Rowarth said vessel operators "must have an effective system for managing crew fatigue".
"With all three of Jan's crew, including the helmsman, asleep it was a matter of luck that this was not a fatal accident," Rowarth said.
Judge Dianne Partridge, who sentenced Wild Fish, said: "It is clear that the watch alarm could have prevented the grounding of the vessel if the crew were aware of the existence of it.
"It is clear that the crew of the Jan were entitled to trust that the equipment they were using was adequate, and that they had training and processes in place that were able to keep them safe. That wasn't the case at all".
The directors of Wild Fish (NZ) could not be reached for comment.