Question: do name tagged mobs despawn?
Answer: Mobs that are named using the name tag also never despawn in the world, similar to tamed mobs. The exceptions are wandering traders or if the mob is hostile and the difficulty is switched to "Peaceful".