The Andy Griffith ShowS1 · E20 · Andy Saves Barney's Morale
When Andy has to leave Mayberry for the day to testify in a court case held in a neighboring town, Deputy Barney Fife is left in charge of the sheriff's department -- and he proceeds to arrest everyone in Mayberry!
Every source we have for this title failed to respond. That is usually temporary.