This has been of recent relevance to me. My uncle passed away quite a few months back now, but luckily for the family he had the majority of his account details written down, and we were given the OK by the solicitor to make manual withdrawals where possible, however, there were a couple of accounts whereby he hadn't completed KYC so this caused a few issues. The company who caused the most issues were William Hill. They had a court order, and still took an absolute age withdrawing funds to the nominated bank account, which delayed the distribution of his estate, although in the end this didn't matter so much as the sale of his property is still ongoing, and has now become a bigger issue than betting accounts.
But just sharing my experience dealing with the bookmakers side of things, when something like this happens.
My suggestion is to write down every account/pw and store it safely, should the worst happen.