Question: what episode does yamato die?
Answer: The anime has not ended yet and he is still alive in the anime. In the Manga he emerges from the infinite tsukoyomi in episode 699. No, he was paralyzed by Kabuto for using his chakra. But he is not dead.