Relinquish Guild Master rank

Wow classic
Rédemption EU - Auberdine

Hello,

I Rorck am currently the GM off the guild.
I would like to give the Guild master rank to xenofer (currently officer)

What happens if I leave the guild while being GM?

Regards,
Rork