A 7 year old refuses to sleep in her own room. She does accept to fall asleep in it and maybe stay there for a couple of hours, but in the middle of the night she walks over to the parent's bed and squeezes her body against the parent, resulting in poor sleep for the parent. She walks on auto-pilot, sometimes having no recollection in the morning of having moved.
This problem has been going on for years and attempts to stop it have been futile: After moving the child back to her bed and putting her back to sleep, she walks back to the parent shortly after. Bed-sharing in her own bed, to make her calmer in that place, does make her stay, but when the parent moves away the child follows. So what is sought after here are new strategies to try.
Now that the child is old enough to reason, she says the problem is caused by nightmares. She also says she feels safer with the parent, after having witnessed a nearby house on fire. It may also be relevant that, for medical reasons (that thanks to recovery from illness are no longer valid), the child has a history of bed-sharing with the parent.