In The Cat Who... books by Carol Nelson Douglas her main character, Qwill, can write 1000 words on any subject at any time. Ironically, his articles are usually the most boring part of the book.
CND writes mysteries solved by Qwill's Siamese cats, Koko and YumYum. I always enjoy her stories, but sometimes she kills off characters that I like. Sometimes they don't solve the mystery in time to save the next victim. I don't like that, either.
Perhaps that explains my own issues when writing mysteries. Sometimes I get too attached to my characters to murder them off. One villain, in particular, was so delightful that he kept coming back. Although half of the cast of the book was trying to kill him, he refused to stay dead.
Maybe I should write the sequel. Someone might succeed in killing him in book two.