I'm guessing sleepwalking? My daughter did this regularly when she was little. I don't know if this was the right approach, but I'd always let her talk for however long it took(usually less than 5 minutes) and then say "Ok baby, let's go back to bed." Most of the time she'd just turn right around and head to her room on her own, a few times I had to carry her back. But she'd get in bed, get her bunny she slept with, and go right back to sleep. She'll be 13 in a couple of months and there really hadn't been any issues for a couple of years now. Until last week. She came out to the living room about 12:30 in the morning saying she was mad because she needed to reset her alarm clock. I had her sit down and finish telling me what the problem was and told her I thought it would be ok. Normally she remembers nothing about these episodes, but the next day I started to ask her about it and she immediately said "Did I come out to the living room last night? Talking about my alarm clock?" She actually remembered most of the conversation. Hopefully what your child goes through will be a similar experience. The only real fear we ever had was stairs. Our daughter started sleepwalking at around age 2, when we still lived in a townhouse style apartment with the bedrooms upstairs. We put a baby gate at the top of the stairs as a precaution(which damn near killed me a couple of times nearly tripping over it) and luckily never had any accidents. This is a girl who is clumsy by nature and takes poor angles when walking and might bump into a door frame, corner of a countertop, a chair etc, but she always navigated walking in the dark without any issues when sleepwalking.
Maybe it will be an isolated incident, it always seemed to happen most often if our daughter was over tired, so maybe be on a bit of alert on nights where you feel your kid is more tired than normal? I hope everything works out fine. If your experience works out anything like ours, you'll be able to laugh about some of the goofy things your child says, like the time my daughter came out and proclaimed "I'm here to help with the cows!".
Edit: Now I realize I totally misread " bluuuhhhipoiajpoijhpgoiewrsdfjdnsbnwssdjpgweirupoyiwpjhwe" as gibberish, not puking. My bad, carry on.