The rest of the stolen magic was extracted from the staff, flowing back into the princesses it had been stolen from. Twilight offered the magic she had reclaimed from Anonymous back to their respective monarchs as well, and the princesses in question were also freed from their stony prisons as a result, returning among the living with a few shocked gasps.