San Francisco Giants first baseman Rafael Devers on Tuesday said he apologized to manager Tony Vitello for his actions in the ninth inning Sunday at Miami, when he resisted being lifted for a pinch runner, but called the incident a misunderstanding and blamed the media for blowing it out of proportion.

The Giants appear willing to accept that version of events and sweep the ugly incident under the rug with an underperforming star player who is owed more than $200 million through 2033.

Devers was back in the lineup at first base and batting fourth for Tuesday’s homestand opener against the Athletics.

Speaking in Spanish through interpreter Erwin Higueros, Devers said he thought Vitello was removing him following a leadoff walk in the ninth inning because he’d reported some hamstring discomfort two days earlier.

“I just thought he was taking me out of my game because … of my hamstring,” said Devers, who tried to wave off rookie Jonah Cox and then avoided a back tap from bench coach Jayce Tingler as he entered the dugout. “And if he felt I was disrespecting him, that’s why I went into his office and I apologized to him.”

Devers said he apologized to Giants manager Tony Vitello (above). (Geoff Burke / Imagn Images)

Devers, who seldom has spoken to reporters this season, blamed the media for making more out of the issue than it warranted.

“The media in general, you guys, just blow everything out of proportion,” Devers said. “And I think it’s a reflection that I really don’t talk to you guys. So because I don’t talk to the media, things like this happen. So you guys gotta write everything and try to blow everything out of proportion.

“I respect the manager. I didn’t mean to be disrespectful to him. I apologized. Things happen and I think it’s because I don’t talk to the media, you guys just want to blow everything out of proportion.”

Giants president of baseball operations Buster Posey acknowledged that Devers needed to “work on” being more accessible to reporters, but did not see the need for discipline or to bench the former Boston Red Sox star, whom the Giants acquired in a blockbuster trade one year ago.

Posey also said he didn’t believe that the Devers incident reflected poorly on Vitello, who was hired from the University of Tennessee with no pro baseball experience and at times has appeared to struggle with asserting his authority with star players regarding taking days off.

“I feel like Tony has the clubhouse,” Posey said. “I think he has the respect of the players in the clubhouse. Everything’s going to be heightened when our record is what it is, but there’s no concern on my part that he doesn’t have the respect of the clubhouse.”

What next with Devers, who could be among the players the Giants attempt to move prior to the Aug. 3 trade deadline?

“I’ll probably sit down with him, and from talking from Tony, I think he understands … setting right example as a leader in that clubhouse,” Posey said. “Everybody has missteps. You can even point to leaders from everywhere. Everybody has missteps. So, I don’t think you can have an instant like that and say that he’s not a good teammate.”