Former Tamil Nadu batter Baba Aparajith has retired from professional cricket, bringing an end to his 15-year professional career.