He didnt confiscate it or write you a ticket.
Exactly, cops are paranoid now days, he was just taking the necessary procedures to secure his safety. What if he did write you a ticket and you got angry and tried to shoot him? That didn't happen, but cops are always running different scenarios in their head once they have pulled over someone. All of my encounters, after I show my license, their demeanor changes and they seem more cautious until everything checks out.
One recent story, I stopped off to get a pack of cigarettes and a coke, the weather was windy, rainy, and cold. I had on a jacket with a shoulder holster and my Beretta 92FS. When I opened the door the wind blew enough where my jacket opened a bit. Two officers were getting coffee, one noticed and their demeanor changed ( as expected). When I went to the back to get my coke they surrounded me, both coming down seperate aisles. I seen it coming a mile away and had already knew what was going to happen next. "You have a permit for your weapon sir?" "Yes I do." "Put your hands up and tell my partner where you wallet is at." "My front left pocket" As I held my hands up, the partner approached me and took out my wallet. He used his shoulder radio to call it in I guess along with checking to see if I had warrants. I stood their for about 10 minutes, "This is just procedure sir, once everything checks out you can carry on." Once everything came back fine, I was told I could put my hands down and the partner gave me back my wallet.
Now that everything was fine, they asked my about what I was carrying with a smile and I told them a Beretta 92fs and that it is my cold weather carry. The partner told me he used to carry one before they were issued Glocks, once the threat level was zero again and they saw I was a law abiding citizen they were fine.