Complex sentence: MacNab found that it would not be possible to maintain defense and during the night, sword in hand at the head of 300 men they cut their way through the besieging force.
Split into simpler sentences: MacNab found that it would not be possible to maintain defense. During the night, sword in hand, at the head of 300 men, they cut their way through the besieging force.