An Ordinary Power of Attorney is only valid as long as the donor is capable of acting for him or herself. If the donor becomes mentally incompetent (loses capacity), the ordinary Power of Attorney ends.
An Enduring Power of Attorney remains valid even if the donor later becomes mentally incompetent. The donor must be competent at the time an enduring Power of Attorney is made.
In either case, the Power of Attorney becomes invalid when the donor dies. A Power of Attorney cannot be used to bequeath property upon the death of the donor.