When Pablo Sandoval pinch-hit for reliever Sam Coonrod in an 8-4 Giants loss against the San Diego Padres on Sept. 1, it seemed like it could be his last at-bat in front of the home fans at Oracle Park. Sandoval was set to undergo Tommy John surgery and entered the offseason as a free agent.

But Sandoval is back with San Francisco after he signed a minor league contract with the Giants in late January. His former teammate, Aubrey Huff, will not be back at Oracle Park later this season.

The Giants on Monday announced they have told Huff, the Giants' starting first baseman in 2010, that he is not welcome at the ballpark when they celebrate their 2010 World Series title.

"Earlier this month, we reached out to Aubrey Huff to let him know that he will not be included in the upcoming 2010 World Series Championship reunion," the organization said Monday in a statement. "Aubrey has made multiple comments on social media that are unacceptable and run counter to the values of our organization. While we appreciate the many contributions that Aubrey made to the 2010 championship season, we stand by our decision."

Sandoval reacted to the Giants' decision on Tuesday, and told the San Francisco Chronicle's Henry Schulman that he "won't be sad" that Huff won't be at the World Series reunion.

.... had to learn. It’s part of real life. Sometimes you have to be polite. And you’re going to get in trouble for what you post.” I asked Pablo if he would be sad that Huff is not at the reunion. “I won’t be sad,” he said, reminding me Huff ripped him as a bad teammate .... — Henry Schulman (@hankschulman) February 18, 2020

Huff and Sandoval were teammates for three years from 2010 to 2012 and won two championships together. Huff hit .294 with one homer in the 2010 World Series, while Sandoval was named World Series MVP in 2012.

[RELATED: Sandoval far ahead of schedule in his Tommy John rehab]

The Giants plan to celebrate the 2010 team on Aug. 16 during a game against the Colorado Rockies and will give out replica rings to the fans in attendance.

Huff has not been around the ballpark much since retiring after the 2012 season, but he came back to San Francisco in September for Bruce Bochy's final game as the Giants' manager.