Identified as Khalid, the man received a bullet in his leg during the exchange of fire with the police and was arrested, but his accomplice managed to escape, said the police.
The police recovered a bike and a pistol from Khalid.
Police Inspector Surender Phogat, chief of the Gurgaon Sector 29 police station, was abducted here on June 30 by four men who subsequently dumped him in Mathura district of Uttar Pradesh after taking his cash, mobile phone, and car.
Police said Khalid was one of the four abductors.
The kidnapped police officer was on Friday brought back here by Haryana Police.
Khalid has been admitted in hospital and doctors said he was out of danger.