Killing off a character

I've been working on my "quest" story, and I had to kill off one of the characters, and I found myself actually tearing up as I wrote it, as if she was a real friend that was dying. Has this happened to anybody else?