The official website for The Settlers of Catan

Question about The Cards Irmgard, Keeper of the Light - Do I receive a resource if I use a hero like an action card and remove him from the principality?

Answer

No, you only receive a resource if your opponent performs an action that results in the removal of one of your cards.

Note: Heroes that can be used like action cards belong to the Age of Darkness expansion.