 The State s Attorneys Office sends Bob Rogers to Mayberry to work with Andy as a deputy and learn about law enforcement. This doesn t sit well with Barney who feels that Andy has been displeased with his performance and picking on him lately. It isn t long before Barney begins to feel useless and unwanted around the office and offers up his resignation.