If an officer asks you for your weapon he has become uneasy about something. Either he is looking for someone who fits your description, had bad information come back when he called in your plates or has a gut feeling about you. Follow the officers instructions and all will be well. Start arguing about the value of your firearm, your rights etc. expect things to go south rather quickly.
Virtually 100% of the officer involved shootings that have caused riots etc. started off with somebody refusing to follow instructions.
I was driving to work once and had an officer get within 20 feet of my rear bumper to check my plate. My tour started at 0300. It wasn't unusual for the police to pay more attention to vehicles at that time of the night. I was used to it. As I pulled on to the street where I worked eight cruiser intercepted me and I pulled into the lot across the street far enough for all of them to enter. They made me show my hands, reach out of my window and open the door using the exterior latch.
When I got out I ordered to put my hands in the air then turn around, place them interlocked behind my head and you get the picture. I was placed in the back of a cruiser while they searched my truck. When the officer came back he asked if I knew why he had pulled me over? I responded I have no idea, I just know no that it's a mistake. He said "why do you think that? I said "Because it doesn't take eight cars for a simple traffic stop". He said that my vehicle had been reported stolen.
I was shocked. A bolt of panic went through me, I told him that I had purchased it brand new right here at the Ford dealership. That if it was stolen the Ford dealership had sold it to me. He went through all my paperwork which was in order, insurance, title and registration all good. My brother was on duty at an adjoining township and I told the officer to call him if he didn't believe me. My brother showed up unaware I was in custody and told the officer to go inside the place of business directly across the street, he was sure my paperwork would be in order. The officer informed my brother I was in the back seat of his patrol car. My brother started laughing.
The end result was that someone had made an error when my plate was called in. The officers on the street were working off the information they had been given. Had I been armed and refused to surrender my weapon I think things would have gone very badly for me. People make mistakes. This happened 30 years ago. It could just as easily have been yesterday.
Everybody should tell their friends and neighbors and especially their children to follow orders when the police give them. Things will work out just fine if you do.