When Sora goes into Valor Form in Kingdom Hearts 2, it can take away any one of your party members.
Which one leaves depends on your current setup, so be prepared to fight that section with a slightly smaller team.