There isn't one specific term for an "elephant master," but several titles are used depending on context:
Mahout: Common in South Asia for someone who trains, rides, and cares for elephants.
Elephant trainer, handler, or keeper: General terms used in various settings, including zoos and wildlife parks.
The best term depends on the situation and what you want to emphasize.