Episode 164 is Sledge Hammer (1986)
Back off suspension Sledge Hammer is assigned to head up the investigation when the mayor's daughter is abducted, but he predictably objects to a requirement that he work with female detective Dori Doreau (who is a woman!!! ) when the only partner he needs is his gun called Gun.