With my luck, I'd be jail. As someone else said, the fact that you didn't kick his *** on the spot is truly anger management.
I'm glad the cop saw the situation for what it was and made the right decision.
From your last post, I'm guessing that if they just said "Hey, I'm sorry, the cart just got away, can we exchange insurance information?" All would have been cool.