South Africa wicketkeeper Quinton de Kock shocked the cricketing fraternity after announcing his Test retirement on Thursday, hours after turning out in whites against India.

The cricketer, who was not expected to play the second Test of the series due to the birth of his child, announced that the reason behind his decision was the intention to spend more time with his family.

“This is not a decision that I have come to very easily. I have taken a lot of time to think about what my future looks like and what needs to take priority in my life now that Sasha and I are about to welcome our first child into this world and look to grow our family beyond that.

“My family is everything to me and I want to have the time and space to be able to be with them during this new and exciting chapter of our lives,” said de Kock in a statement.

The 29-year-old, however, is available to play ODIs and T20Is.

De Kock made his Test debut against Australia in 2014 and ended up with 3,300 runs in 54 Tests at an average of 38.82. The South Africa player scored six hundreds and 22 fifties in his red-ball career, and notched up 34 and 21 in his last two innings, against India.

His retirement, though, came as a surprise, with many pondering if prioritising the shorter formats would become an even bigger norm.

A few others could not digest their surprise at his sudden decision as South Africa continues to reel without several key players.

Others decided to applaud him for a career that had its glories.