Thankfully Dumbledore was the one to rescue Harry, and after a quick war of words that left Rita stunned he escorted Harry out. Compared to the claustrophobic events in the cupboard, the wand weighing and subsequent photoshoot was much easier. At least Harry could breathe.