Does drunkenness / poisoning / death interrupt ongoing abilities?
From what I can determine both effects are still in play for the full duration regardless of the character losing the ability dying. The courtier even lists on the page that it can only be used once per game and getting it off to learn something before you die is a good thing. It however doesn't mention the effects going away when they die.

You can only use your ability once per the entire game, so time it well! The later you make your choice, the more information you will have the game's state and what characters are in play and causing mayhem. On the other hand, the evil team will be keen to target you as soon as they possibly can, so using your ability early can ensure you get it off and learn something before you die. It's up to you to judge the landscape of your particular game and make your choice!