Complex sentence: Most of the crews were out foraging, and as they hastily manned their ships and sailed out, there was little coordination and some ships were undermanned.
Split into simpler sentences: Most of the crews had been foraging, and as they hastily had to man their ships and sail out. There was little coordination and some ships were undermanned.