It's a simple shoplifting case. If the police told you that you will not be charged, you can bet with a high level of certainty that you actually will not be charged.

The reason the police were involved is to document that you've been told to stay out of CVS. So stay out, or you will likely be arrested.