Mitchell O’Meara’s Facebook post Wednesday undoubtedly took many of his friends and followers by surprise.

“Surrounded by police with guns drawn,” the suicidal Newburyport, Massachusetts man posted shortly before midnight.

suicidethreat“Thinking this is not good,” the 53-year-old O’Meara wrote. “Don’t think this is going to end well for me.”

Newburyport police tracked O’Meara’s cell phone to Plum Island Point after someone reported he might have a gun and “try to harm himself,” MassLive.com reports.

Officers initially checked his home, then tracked the phone to Captains Fishing Parties tackle shop, where officer John Schmidt found O’Meara in his pickup truck with a cocked revolver in his hand and his finger on the trigger, according to the Newburyport News.

O’Meara apparently had his eyes closed, but opened them and made contact as Schmidt approached.

“He looked away from me and as I retreated to cover, I advised via radio for more police units as backup,” Schmidt wrote in his report. “As I was retreating, Mr. O’Meara discharged his firearm.”

Newburyport City Marshal Mark Murray said the gun was fired into the passenger side floorboard.

Schmidt repeatedly attempted to convince O’Meara to put his gun on the dashboard and surrender, but the disturbed man instead repeatedly placed the barrel between his eyes, according to the news site.

Schmidt continued to monitor the situation from a residence overlooking the truck as swat and state police surrounded the vehicle. Newburyport police also called in Sgt. David Sedgwick, a negotiator with the nearby Rowley Police Department, who contacted O’Meara on his cell phone, MassLive.com reports.

Sedgwick eventually convinced O’Meara to unload his gun, throw it out the truck window, and surrender to authorities without incident.

O’Meara was taken to Anna Jaques Hospital for an evaluation before he was hauled to the Newburyport police headquarters where he was charged with disorderly conduct and discharging a firearm within 500 feet of building, according to the new site.

“We are thankful that this situation ultimately ended peacefully, and we are very much proud of our teamwork with our neighboring agencies and the state police, which helped ensure a peaceful conclusion to this event,” Murray said.

“The strong police work and restraint exhibited by well-trained police officers last night prevented this situation from escalating to a deadly incident.”

Murray said the standoff lasted about three hours, Newburyport News reports.

O’Meara was arraigned Thursday and held on a $5,000 cash bail. He was also ordered to turn over all firearms and undergo a mental health evaluation if released.