If your LO is co sleeping with you and you get up first what do you do with LO?

I hate transferring her to the crib because sometimes it will wake her up, but I'm afraid of leaving her in the bed alone because she will crawl off the bed.