We do not currently know of any antonyms for gaining mastery of.
For similar words to gaining mastery of, try: