How to stop her from climbing out of bed

My daughter is 2 this month. This past week she mastered climbing out of her playpen. She’s in her playpen because we are traveling at the moment. Anyways, she wakes up way before she’s supposed to and climbs out and no matter how many times I put her back, she doesn’t listen. Even when she’s in time out she will continue to try to get out no matter how many times you say no. She’s too young to explain anything to. All she understands right now is no but her getting to the terrible twos, she doesn’t care.