Say you had a Napoleonic-era regiment of infantry who'd run out of ammo or whose powder had got wet, and who therefore had to rely on just their bayonets to defend themselves against enemy cavalry. Would they be able to do so, or would muskets and bayonets be too short to adequately defend them without musket fire to back them up?