Taking advantage of a sudden death was a viable career path for much of the olden days. If you’re looking for promotion nowadays, hoping your immediate superior will snuff it just isn’t enough. It’s not very nice and it’s likely to lead to disappointment. You have to get proactive and start sending out CVs. People don’t die as much as they used to.