Chesterfield defender Drew Talbot has said he was 30 seconds from retiring earlier this season.
The former Sheffield Wednesday man had suffered with hip injuries and did not feature this season until 27 January.
The 28-year-old spent time on loan at League Two Plymouth before being recalled by the Spireites in March.
"I was a 30-second consultation from quitting but fortunately it went well, I dug in and I've played 12 or 13 games in a row," he told BBC Radio Sheffield.
"I broke down in training and went to see the surgeon and he said 'You have to try and battle on and if it works, it works and if it doesn't you have to accept that.'
"I was very grateful to Plymouth for taking me down there because not a lot of people would have wanted to touch a player who had been out for so long."
Talbot has helped the sixth-placed Spireites record four successive victories in League One.
Paul Cook's side are four points clear of Rochdale in seventh and Talbot is hopeful the club can record back-to-back promotions after winning League Two last season.
"I've been lucky to win three promotions and to get another one here would be awesome because I've been here such a long time," he added.
"Last time we came in to this league we let ourselves down and went back down but the gaffer has assembled a really good squad and I'm looking forward to the run-in."