Australian NBA star Andrew Bogut became so gloomy while he battled a nagging ankle injury this season he started to wonder whether it might ultimately end his career.
The Golden State centre is much more positive now, after helping the Warriors to the second round of the play-offs, where they are 1-1 in a best-of-seven series with San Antonio.
But the 28-year-old admits his earlier injury struggles took a severe mental toll and prompted retirement thoughts.
"It was definitely (something) I started to think about," Bogut told the NBA.com website.
"I never got to a point where I thought 'This is it. I'm done'. But I thought 'If this goes on for a year or two, there's definitely a chance that I think about that'.
"I was really bad. The physical part of it is one thing, but the mental part of it is the other.
"It was a tough time in my career."
After fracturing his ankle in January last year and having off-season surgery in April, Bogut returned to start the season with the Warriors in October, his first game for the club after being traded from the Milwaukee Bucks.
But after playing four of their first five games, problems with the ankle forced him out for the next three months and questions popped into Bogut's mind about whether he would ever return to his pre-injury level.
He returned in January but, after eight more games, back spasms cost him another six matches.
Then, after another short-lived return, bone bruising on his ankle forced him out for two of the Warriors' last three regular-season games.
At one point, he virtually wrote off the season in his mind, resigning himself to regaining health in the off-season before returning to try again.
So his serious impact on the play-offs has been a welcome surprise.
"My body's starting to respond a little bit better. It's a positive sign," Bogut said.
"My goal was in the play-offs to no matter have a good play-off campaign and kind of forget about the season. It's kind of worked so far."
Game three in the Warriors-Spurs series is on Saturday afternoon (AEST).