Am I wrong for making my wife think our kid had been kidnapped for a few minutes?

So here is the story. In my home town it's a felony to leave a child unattended in a car if said child is young enough to require a car seat.

My wife and I were ordering from subway one day, I was at work, she was at home, and I suggested the one that has the drive through for convenience. She told me no, that she would just leave the kid in the car while she went in to get the order. I told her that I was super uncomfortable with that, I didn't want her to get into trouble and I didn't want the police to take our child from us. She told me I was being paranoid.

So one day I was headed home from work, I saw my wife parked at the gas station. I pulled in, I figured hey, I'd hug her, and maybe get a snack. When I pulled up, I noticed that our son (age 1.5) was in his car seat and she was inside. I chose to get our son from the car (door isn't even unlocked), and put him in my car ( I have a car seat as well) and pull around to the other side of the gas station where she couldn't see me. Just 5 minutes later she's calling me frantic because our son is missing. I told her I have him and that I would meet her at home.

When she got home she demanded an apology from me, she felt what I did was extreme. I told her I was sorry for my rash choice, but I was not sorry for trying to force her to see the safety and legal issue. You see I had a friend whose wife left their child in the car, the police took the child, and he ended up having to divorce thier mother to get custody of the child back.

I'm on the fence on this one. I feel like she was wrong for ignoring my wishes and the law, but I was wrong for scaring the shit out of her.
Am I wrong for making my wife think our kid had been kidnapped for a few minutes?
Post Opinion