Not to be a jerk about it, but people get killed this way---by carrying around things that look remotely like guns, and then not being deemed by a responding LEO to be sufficiently compliant. Look at it from the officer's perspective---damn, that guy (apparently) has a deadly weapon, and he refuses to drop it! They are, in general, *allowed* to shoot you under those circumstances, because they are in a position to believe, genuinely and reasonably, that you may be about to shoot them first. (Why else would you refuse to drop your gun, right?)
I'm not saying it's right, I'm just saying that insisting on keeping the moral high ground, in the very particular situation where something has been mistaken for a gun, is a pretty good way to end up being right but dead.