Minecraft wiki entry for Wither, associated text: Like all other hostile mobs, the wither despawns when the difficulty is changed to Peaceful. Building the wither spawning structure in Peaceful difficulty does not spawn anything.