The development of shields nullified guns. Hence back to sword fighting. I think it was a nice plot device. Guns are overpowered and sword fights are more awesome!