Gilligan's Island
Gilligan Goes Gung-Ho (3x15)
:
Gilligan is made a deputy sheriff, and begins to take his job too seriously. He ends up locking everyone up in a make-shift jail, including himself! Of course, while the castaways are locked up tight, another potential rescue plane flies over the island.