The guy didn’t deserve to be shot simple for reaching for a cane, but you make a valid point. I’ve been excoriated for writing the same thing. In an ideal world, the police wouldn’t be so quick to resort to violence, but this isn’t an ideal world. People would be wise to #1 avoid dealing with police or the justice system as much as humanly possible and #2 carefully listen, think, and remain calm if forced to interact with them.
We need to use caution when interacting with those who are sworn to "protect and serve".