So the deputy curses, opens the jail cell, sees that Jim has escaped, curses again and then runs out of the Sherriff's office, to try and track him down.
After the deputy leaves, the camera slowly pans back to the jail cell, and you see Jim Rockford get out from underneath his mattress (where he was hiding), and casually walk out of the Sherriff's office!
I was but a wee lad when I watched that, but it was a good show as I remember. Also, around that same time was the ORIGINAL Hawaii 5-0. Barnaby Jones and Quincy round out the mid to late '70's network shows.