In the series, shadows are defeated in various ways, including using light-based magic spells, utilizing special weapons imbued with light energy, performing rituals to banish them, and finding and destroying the source of the shadows' power. Each method depends on the specific lore and rules established within the world of the series.