Twilight Sparkle didn't think much of the spell at the time. Using her student's music box to keep an eye on her seemed like an excellent idea! There was just one problem: she couldn't change back.
A darker take on the events of S.7 E.10, so probably watch that first. Fantastic cover by Zutcha, who has a perfect record.