Imran Tahir reacts as Shakib looks on during the World Cup group stage match at The Oval. File / AFP
Saturday's World Cup match against reigning champions Australia is set to be Tahir's 107th and last ODI before the leg-spinner bows out of the 50-over game at international level.
Born in Pakistan but married to a South African, the much-travelled Tahir made his ODI debut in February 2011, just a month before his 32nd birthday.
But the 40-year-old has still taken 172 ODI wickets heading into this weekend's match in Manchester.
This has been a disappointing World Cup for South Africa, with just two wins from eight games so far and the Proteas have long been out of the race for semi-final qualification.
"As a team, we need to think about finishing on a good note," he said. "But it makes me feel very sad and emotional that I'm going to leave.
"It was always my dream to play international cricket and I'm really grateful to everyone who helped me along on the way. They accepted me for who I was, the guy who came from overseas.
"It's a big moment of my life — I always wanted to play cricket and play as long as I could and now is the right time to go.
"It will be quite a hurtful and sad moment for me but I've prepared myself for that, so hopefully it will go well for me and the team."
'Not worried about the future'
Tahir added: "I'm not worried about (the) future of the team —there are a lot of youngsters.
"I strongly believe there is lots of talent but they just need experience and then they'll get to the stage where everyone wants to see South African cricket.
"People expect higher and a lot from us — this World Cup was totally different but I'm pretty sure things will be fine for South Africa."
Saturday's match is set to be the first time Australia's Steve Smith and David Warner have faced South Africa since they were involved in a ball-tampering scandal during a Test in Cape Town last year that saw both senior batsmen given 12-month bans.
But Tahir, while confident the Proteas would not initiate any 'sledging' regarding Smith and Warner, said South Africa would not take a backward step if there were any 'verbals' from Australia.
"If it's coming from them, then obviously we won't be holding back," he said. "But I think it's going to be a fair game of cricket. It's at the back of everyone's mind, but we don't have to think about that. We are looking forward to the game."
Reigning champions Australia are already through to the semi-finals, while South Africa cannot qualify for the last four.
England, after Britain's Prince Harry officially opened the tournament, lost a wicket second ball before Roy and Root shared a stand of 106 that was equalled by Morgan and Stokes.
The 30-year-old, dropped following Pakistan's opener against the West Indies, made up for lost time as he demolished South Africa's beleaguered bowlers.
The 56-year-old Portuguese returns to management for the first time since being sacked by Manchester United in December, and replaces Mauricio Pochettino, who was sacked on Tuesday.
Captain Tim Paine said on Wednesday Australia were wary of being “surprised” by Pakistan’s young pace attack, which could include 16-year-old sensation Naseem Shah,
Brazil ended a run of five games without a win by easing to a 3-0 victory over South Korea in a friendly in Abu Dhabi on Tuesday with Philippe Coutinho scoring the pick of the goals.