Police recover pistol