Minecraft wiki entry for Shears, associated text: Shearing a snow golem removes its pumpkin, dropping it and revealing its true face. The snow golem cannot get its pumpkin back unless through a command, such as /data‌[Java Edition only].