Power of attorney or executor?
They do different jobs at different times. An attorney under an enduring power of attorney acts for you while you are alive.
The power ends when you die. From that point on, the executor named in your will deals with your estate.

