C.W.
My son slept on the floor next to his door from age 2 1/2 to almost 5. Finally when his sister started sleeping in there, he finally agreed to sleep in the bed. Because he could climb gates and I was worried about him falling down the stairs and roaming the house, his ped suggested latching the door shut. I would put her back in her bed but if you find her on the floor in her room, don't worry about it.