Original Air Date—28 January 1963
A local construction crew is blasting for an underpass near Mayberry. The rumor is that the mayor wants to bring the highway past his brother's gas station. A farmer brings his goat uptown to experience his weekly shopping trip, and partly because of the blasting making the goat nervous. The goat frees itself from a bench on main street and wanders into a storeroom. The goat eats a half of a case of dynamite. Andy and Barney treat the goat with kid gloves and place him in Otis's cell. The fun starts when Otis lets himself into the locked jail using his own key and kicks the goat out of "his" cell.
Andy Griffith Show s03e18 The Loaded Goat