Maxperson
Morkus from Orkus
I can't believe so many people handle it this way (player character is still there and gets XP).
It seems so obvious that the character would more or less be "AFK". Not present, not in danger, getting no XP.
Why? The PC is with the party and it would be nonsensical for that PC to not do what it usually does in the usual ways. If you haven't watched Gamers, you should. It illustrates just how absurd playing that way is.
Having that PC controlled by another player or DM and getting killed seems very unfair.
Additionally, if they are not there to participate why should they get XP?
The player gets no experience. He had no fun for the night. He didn't solve anything. The PC on the other hand experienced quite a bit.