I assume she expected a leadership challenge and calculated that he was less likely if tied into the shadow cabinet.