New York City’s top cop has put his angriest officer, Patrick Cherry, on modified duty — and taken him off the prestigious FBI Joint Terrorism Task Force.

Cherry is the veteran detective caught on video berating an Uber driver in foul-mouthed, expletive-filled, xenophobic tirade.

The video was posted on YouTube by the Uber driver’s passenger, Sanjay Seth, after Monday’s road rage incident in the old Meatpacking District.

“In any encounter, discourtesy like and language like that is unacceptable,” NYPD Commissioner Bill Bratton said at a Wednesday news conference. “Discourtesy like that is unacceptable.”

RELATED: Civilian Review board, NYPD, open probe of Uber tirade cop.

The Civilian Complaint Review Board and the NYPD Internal Affairs Bureau have launched separate investigations.

“We are engaging in a major effort to provide additional training to our personnel on tactics in interaction with the public,” the commissioner said.

RELATEDSee original road rage video (NSFW).

“That officer’s behavior violated every one of the tenets we are attempting to teach at the police academy in that three-day course that we are currently engaged in.”

The Uber driver ticked off Cherry after honking at him for not signaling. Cherry was in an unmarked car near 14th St. and the West Side Highway.

If his fury wasn’t bad enough, Cherry, who is white, compounded things when he asked the unidentified driver, an immigrant who came to the city two years ago, “how long have you been in this country?”