Hostile mobs named with a name tag are despawning after a few in-game days when I'm not watching them. This has happened a few times with a drowned and some zombies. Each time the mob was trapped in a farm with cover to protect it from dying during the day
Please include a video of this happening if you can