M.P.
As difficult as it is to do, you'll need to immediately and consistently put her back in her own bed. When you let her stay in your bed you are telling her that this is OK. Put her back in her bed with very little if any conversation if she is awake. Be firm but kind if she insists on getting back in bed with you. And praise her every morning that she was able to stay in her own bed. I know that this is very difficult to do but you'll find that you won't have to do it for long. She will learn that she is expected to sleep in her own bed. Since she did stay in her own bed for five nights and was proud of herself she will probably quickly learn that sleeping in her own bed is to happen every night.
This is just a thought and I have not had any experience with it but if she's asleep when she gets into your bed, perhaps she's unaware that she does get up and get in your bed. In that case it may be helpful to have her walk herself back to her bed.
In answer to the mother who said that her boy says his leg hurts when he gets into her bed, you can still do the same thing. Sympathize briefly about his pain and put him back to bed.
My step-son, when he was 6, complained that his leg hurt for several days and we took him to the doctor, who found nothing wrong. The doctor said that it is common for kids to get this sort of pain. He said it could be growing pains. When we stopped focusing on the pain he stopped complaining about it. We were still sympathetic but we also expected him to do whatever he was saying he couldn't do because of the pain.
I remember my legs hurting and my Dad rubbing them which helped. In my case the doctor sent me to a podiatrist who said that some children have a greater need to wear supportive shoes in the correct size than others. Once my parents provided those my leg aches went away.