Is this the only area of your relationship where you are headbutting?
Forgive me if I seem forward here, but it seems there is a real disconnect in who is the parent and who is the child in your relationship. *blushes*
She's not a baby who needs to be soothed or parented to sleep.
Has she recently undergone a traumatic experience that has changed her behavior? If so, I'd strongly suggest seeing a counselor to give her a safe space to work through it.
If not, well, I recommend talking to her about it in a non-charged environment (i.e., not at bed time). Tell her there are new rules. You will come in to tuck her in, you will kiss her goodnight, and then she will go to bed. You are not going to stay in her room, because you are the grown up, and you have things to do. Make it clear that this is non-negotiable. You expect her to go to bed in a timely fashion.
If she gets up after you put her to bed, you ignore her. She's not there. You don't talk to her or acknowledge her. She's too big to be carried back to bed like a recalcitrant preschooler, I imagine, so defend in place. If she follows you around, lock yourself in your bedroom with a book or a tv show. As far as you're concerned, at 8:30 your daughter went to bed and you are carrying about your business.