It stays in effect until revoked or until the principal dies. A general power of attorney does the same thing as a statutory power of attorney, except that it expires automatically if the principal becomes incompetent.