Skyrim (PC) How to make citizens un hostile

skyrim-dawnguardthe-elder-scrolls-v-skyrim

I'm doing a Dawnguard quest with Serana and it is very challenging (for me at least). I got very very frustrated and tried to kill her, but she is "important" so it didnt work. I used the command Tdetect so she wouldn't try to kill me, but every time I talk to her she's always like "you never should have come here" and trys to kill me. I can't leave the quest and the last time I saved I had imperial armor, so I cant start a new game because now I have the Nightingale gear.

Is there any type of spell or console command to fix it? I would really apprieciate any help.

Best Answer

Check your Bounties

Goto your Journal menu and change to the Stats menu.
Inside, goto the "Crime" tab and check to make sure you don't have any current bounties.
If you do, goto the respective hold, and try to get the guards to sheath and offer a Jail Sentence.

Weather you want to pay a bounty (if possible) or goto Jail is up to you. It will un-hostile all guards and people in that hold/city.

Wait

Some people claim that leaving people for a day or two (In game) will reset your status and thus making the NPC friendly again. Note: This may not actually work...

Other

You can try console commands which MAY bug up your game so be careful!

Also, you may want to try the below solution from this Arqade question.

Open console, then click on npc, and enter:

stopcombat