Ariana Grande came close to quitting music before filming 2024s Wicked.