MIAMI — Former Mariner Tino Martinez resigned as the Miami Marlins’ hitting coach hours after complaints by players that he verbally abused them became public.

In one instance, Martinez acknowledged he angrily grabbed a player.

The 45-year-old Martinez, who hit 68 of his 339 career home runs while playing for the Mariners from 1990-95, was in his first year as a professional coach. He sat in the dugout during Sunday’s 3-2 win over the Pittsburgh Pirates, then met with Marlins officials and resigned.

“I want to apologize to the Marlins organization for my behavior,” he said. “I have made some comments to certain players at certain times that I thought was more constructive criticism. Obviously, they didn’t feel that way, and it kind of backfired on me.”

Save 75% on a Digital Subscription Today

Martinez said he once touched a player in anger, grabbing rookie Derek Dietrich by the jersey in the batting cage early this season. Dietrich, demoted last Monday to Class AA Jacksonville, was among the players to complain.

Martinez said he offered to resign earlier, but team owner Jeffrey Loria wanted him to stay on the job. When the complaints by players became public in a Miami Herald article published Sunday, Martinez became certain he should resign.

“It has been building for a few days,” he said. “I didn’t know this was going to come out publicly. When this came out, I thought it was the right thing to do.”

The young Marlins rank last in the majors in runs, home runs, batting and slugging, and Martinez said he became frustrated as players struggled.

“I just thought with some young players you needed to be a little firmer and try to get them on the right track,” he said. “I probably used some four-letter words. I thought I was doing the right thing. Obviously, I wasn’t.”

Martinez was a four-time World Series champion with the New York Yankees. He had a three-year contract with the Marlins, but said because he resigned, he’ll receive no buyout.

He declined to speculate on whether he’ll coach again.

“Right now I’m disappointed in myself. I’m embarrassed.”