Neil Fachie crossed the finish line at the Sir Chris Hoy Velodrome in Glasgow, lungs burning, legs aching, heart pounding. His first thought was not the gold medal hanging around his neck. It was his little boy.

Fachie, a 42-year-old from Aberdeen, had been repeating just one word over the final two laps to keep himself going: "Fraser, Fraser, Fraser." His three-year-old son was in the crowd, and the mantra carried the retired Paralympian across the line for a sixth Commonwealth Games gold medal in the Tandem B 1,000-meter event — the first cycling medal Scotland won at the entire competition.

"The last two laps of the race, he was all I was thinking about," Fachie told BBC Sport Scotland. "Just saying his name over and over while I was seeing stars and ready to collapse was what I needed."

The win also made Fachie the most decorated athlete in Scottish Commonwealth Games history, surpassing swimmers like Duncan Scott and the legendary Sir Chris Hoy, who was cheering in the crowd as Scotland's anthem played.

That this win happened at all felt almost implausible. Fachie had walked away from cycling after the Paris Paralympics two years ago. Since then, life has been his job at Amazon, raising his son with wife Lora, and riding at the velodrome only when time allowed — roughly once a week, if that.

"I had walked away from cycling," the four-time Paralympic medalist said. "If it hadn't been a home Games, I wouldn't be here. I thought 'let's go and say our farewells' but I genuinely didn't expect to win gold because I'm not training much."

Yet there he stood on the podium in Glasgow on Thursday, lip quivering, medal in hand. Beside him was his pilot Aaron Pope, a cyclist from England who had never even sat on a tandem bike before this year.

"He's obviously a good bike rider, but he's just a far better bloke," Pope said. "He's juggling his family, a full-time job, and he's still coming in every Wednesday — not overly happy necessarily all the time, but always giving me everything he can."

After dismounting, Fachie had one more priority: finding Fraser in the crowd. Pope guided the visually impaired Fachie through the stands so the exhausted champion could scoop up his son.

"Giving Fraser a big hug was the best thing," Fachie said. "I'm dying to go up and show him my medal soon as well."

Fachie has one more race on Saturday — the tandem sprint — before he closes the door on his career for good. He does not expect to win it. He did not expect to win Thursday either. But he expects it to be the perfect ending.

"There's no better way to go out than racing here in front of a home crowd," he said. "It is the end. There's no doubt."