Legal gun owners not committing obvious crimes are only rarely accosted by police, and shootings are exceedingly rare, and they usually make the news and result in legal action. They also usually involve the victim doing something that's not advisable, even if they're not doing anything legally wrong. Philando Castile, for instance, or Johnny Hurley.
"Unarmed" doesn't represent what the suspect was doing that got them shot. Were they resisting arrest or being noncompliant and reaching for their waist or a center console or glove compartment?
There are cases where police shoot suspects, armed or unarmed, unjustifiably. They're not as rare as anyone wishes they were. They're still fairly rare. Behaving civilly, even while recognizing that many police are like barely constrained wild animals, goes a long way toward ensuring that an accidental furtive gesture isn't interpreted as reaching for a weapon.