Minecraft wiki entry for Hero_of_the_Village, associated text: Hero of the Village is a status effect and can be removed through all conventional methods, such as drinking milk, using Totem of Undying, or dying.‌‌[Java Edition only]