An Oklahoma City police officer fatally shot a man on Tuesday night despite pleas from neighbors that the man was deaf and could not hear the commands to drop a metal pipe he was holding, the authorities said.

The man, Madgiel Sanchez, was shot around 8:15 p.m. outside his home soon after the police responded there to investigate a hit-and-run accident. The first officer to arrive called for backup, pulled out his Taser and ordered Mr. Sanchez, 35, who was on his front porch, to drop the two-foot-long pipe he was clutching, the police said.

The officer’s commands did not register with Mr. Sanchez. He ambled off the porch toward the officer, waving the pipe in his right hand, according to the police and a witness.