Is it possible that he attacked nodes, and not your kingdom? Even if you shield your kingdom, nodes that you are on (resource nodes) are not shielded.
A shield only protects your city, it does not provide any protection from your gatherings being attacked though.