The story of the name, from the sources

Maaz, also spelled Muaz or Muadh, comes from the root ayn-waw-dhal. Its meaning, Ibn Faris writes in Maqayis al-Lugha, is taking refuge in a thing. Lisan al-Arab: he took shelter with him, sought refuge with him and held fast.
“taking refuge in a thing”
Ibn Faris
“he took shelter with him, sought refuge with him and held fast”
Maqayis al-Lugha · vol. 4, pp. 183–184 · Lisan al-Arab · vol. 3, pp. 498–501

Ibn Durayd writes: I sought refuge in God and He gave me refuge; God is mu'idh, and I am mu'adh, the one given refuge; and from this a man is named Mu'adh. Al-Qamus al-Muhit lists it among names given.
mu’adh: the one given refuge
“I sought refuge in God and He gave me refuge: God is mu’idh, and I am mu’adh, and from this a man is named Mu’adh”
Ibn Durayd
al-Ishtiqaq · vol. 1, p. 34 · al-Qamus al-Muhit · vol. 1, pp. 335–336

A word from its root comes twice in the Quran, both times in Surah Yusuf, in the words of Yusuf, peace be upon him: he said, ma'adha-llah. Al-Jawhari explains in al-Sihah: it means, I seek refuge in God.
twice in Surah Yusuf
﴿قَالَ مَعَاذَ اللَّهِ﴾
Surah Yusuf 12:23 · 12:79 · “he said: ma’adha-llah”
“I seek refuge in God” · al-Jawhari
Verse text: Tanzil · al-Sihah · vol. 2, pp. 566–567

From the same root comes al-a'idh. Ibn Manzur writes: every female who has just given birth is called a'idh for seven days, because her young takes refuge with her.
al-a’idh
“every female who has just given birth, for seven days, because her young takes refuge with her”
Ibn Manzur
Lisan al-Arab · vol. 3, pp. 498–501 · Maqayis al-Lugha · vol. 4, p. 184

Taj al-Arus counts twenty-one Companions named Mu'adh. The most famous is Mu'adh ibn Jabal, may God be pleased with him. In al-Isaba, Ibn Hajar calls him the foremost authority on the lawful and the unlawful; he was at Badr at twenty-one, and the Prophet, peace be upon him, made him governor of Yemen.
Mu’adh ibn Jabal
“the foremost authority on the lawful and the unlawful”
Ibn Hajar
at Badr at twenty-one, governor of Yemen for the Prophet ﷺ
al-Isaba · vol. 6, pp. 107–108 · Taj al-Arus · vol. 9, pp. 438–446

In al-Adab al-Mufrad of al-Bukhari, with a sound chain, Mu'adh says: the Prophet, peace be upon him, took my hand and said: Mu'adh, I love you. I said: and I love you, by God. He said: shall I not teach you words to say after every prayer? Say: O God, help me to remember You, to thank You, and to worship You well.
“Mu’adh, I love you”
the Messenger of God ﷺ
“Say: O God, help me to remember You, to thank You, and to worship You well”
al-Adab al-Mufrad 690 · graded sahih






