A wild and memorable baseball season has come to an end for Jose Trevino.

The South Texas baseball star, who had a remarkable couple of days in the majors with the Texas Rangers this summer, had surgery on his left non-throwing shoulder Friday, according to his post on social media.

Trevino posted on his Instagram and Twitter account that the surgery means the end of the season for him.

“Thank you to everyone for the well wishes and prayers! Today I had surgery on my left shoulder. Unfortunately, I am out for the rest of the season but the blessings that came with this year have been unbelievable. I am very thankful for every single one of them. This is just a minor setback for a major comeback! I will come back from this stronger and healthier. For now, time to spend with my beautiful family and cheer on all of my teammates.”

He ended his post with a quote. “It’s not whether you get knocked down; it’s whether you get up,” he posted.

The Rangers announced this week that Trevino was placed on the disabled list by Double-A Frisco because of a left-should impingement. Trevino spent seven days on the disabled list in May due to a right quadricep strain.

On Father’s Day this June, Trevino had a walk-off two-run single to help the Rangers to a 13-12 win against the Colorado Rockies. It was an emotional game for Trevino, who lost his father in 2014. Trevino himself had become a father just before being called up to the majors.