In this reference text summarizing plot of the book The High King, how did the sword Dyrnwyn lose its power?

When Taran killed Arawn with Dyrnwyn in the stronghold of Annuvin, all magical implements inside were destroyed - Dyrnwyn also lost its magic.