An off-duty NYPD officer reportedly put the barrel of a gun in his mouth during a traffic stop on Long Island and uniformed officers had to convince him to not take his own life.

According to the New York Post, the 30-year-old officer—whose name isn't being released—was en route to work when he was stopped for a traffic violation.

Uniformed officers were able to convince the despondent man to put the gun down. The officer was transported to a nearby hospital for evaluation.

The NYPD has reportedly suffered 10 deaths by suicide this year.