(CNN)Basically, the detective didn’t want to be the next police officer accused of needlessly killing an unarmed man.

The Birmingham, Alabama, cop who was pistol-whipped unconscious last week didn’t shoot the motorist who attacked him because of the outcry surrounding the recent spate of police shootings, the head of the local police union said Thursday.

Note: Read our discussion guidelines before commenting.