For one, you didnt have to get out of the vehicle. Unless he flipped on the lights and then you tried backing out, because backing up when a cop is around is no crime at all, unless you did it wildly and dangerously. And you have the right to know why you are being searched and detained, so you should have put your hands where he could see him and ask why am I being detained? Im high though so who knows if this makes sense. But it sounds more like he knows he got lucky, and if you had a good lawyer could get out of it and just didnt want to deal with it. But hey you didnt get busted so who cares right? haha