He will continue to play domestic and franchise cricket, and has committed to "teaching and mentoring the next generation of South African cricketers"