Professor McGonagall’s magical ropes that restrained Dumbledore had been replaced with magic-suppressing handcuffs (since nobody was carrying regular handcuffs). A rope-circle Portkey had been used to take Dumbledore away, along with ten soldiers. The Royal Wizard had side-along apparated Her Majesty out of the Great Hall.