If by "defeated" you mean "destroyed", then I'd say that the original animating magic has gone out of the pieces, and you'd have to make a new one rather than just repair the one that was. If, however, you managed to subdue it without destroying it, then you could repair it. However, it would...