,Punishing and removing things is not the answer here ,consistancy is, you make her room and her bed as nice as you can, you tell her she is a big girl now and she could sleep in her own room, you do not allow her into your bed, ,make sure she is tired and read stories to her before bed, take her into her room and tuck her in, then leave the room, she will yell and she will come out, you take her back and repeat the same thing, if you allow her into your bed she knows she will win the battle each time and on and on, your husband should say no and not leave his bed. If you can stand the noise and the battle it does work ,stuff your ears with cotton wool, not easy ,I did it so I know. Be consistant.
Does she have a night light in her room? Do you think she is having nightmares, or scared of the dark?