After being humiliated by a piece of humorous graffiti, Barney decides to turn in his badge because of Mayberry's lack of any real crime. He saw Opie with the piece of chalk in his hand, but he said that some bigger kids wrote it. When Opie claims that he wasn't the one who wrote it, Andy believes him, because Opie can't write. Unable to change Barney's mind, Andy decides to stage a robbery at Walker's Drugstore in order to brighten Barney's mood and hopefully give him enough confidence to ask Miss Rosemary out on a date. However, Barney messes up Andy's plan by making an actual arrest in the fake robbery. While stalling for time and trying to figure out what to do, Andy runs a background check on the suspect Barney arrested and finds out he's actually a wanted man. Having captured a real crook gives Barney the confidence to ask Miss Rosemary out.
—burvegas-1