Another option, if the aforementioned challenge is too much, would be for the sword to simply "switch off", leaving a harmless handle on the ground.
Either that or a very dim plastic toy sword.