Not a teacher only a native.
I think you are right with your interpretation. To go all out in warfare or full attack. Although I haven't heard the expression myself, it would make sense as a scabbard what you rest a sword in (like a holster would be for a gun). So if you 'fling it away', you do not intend to put your sword back.