[Reddit] I wrote for a primetime show where one of the actors was very difficult to work with so the creator of the show ended the season with that character‘s life in peril.
[The actor] became very apologetic and tried to get his/her act together, so s/he was not written off.
However, the following season s/he was back to the same shenanigans leading to him being killed off after that season. He was not informed until his contract was not renewed.
It was most definitely not a fantastic way [to die]. In fact, s/he didn’t even get a death scene. The next season started and it was revealed that character was dead.