Ariz. Rev. Stat. § 36-3284
B. Notwithstanding the procedures and requirements prescribed in chapter 5, articles 4 and 5 of this title relating to involuntary court-ordered evaluation or treatment, if the mental health care power of attorney specifically authorizes the agent to admit the principal to an inpatient psychiatric facility and the agent has reasonable cause to believe that the principal is in need of an evaluation or treatment, the agent may apply for admission of the principal for evaluation or treatment at an inpatient psychiatric facility. The agent must present the facility with a copy of the power of attorney that specifically authorizes the agent to admit the principal to an inpatient psychiatric facility. If admission is requested by the agent, the facility to which the agent applies may admit the principal if before admission a physician who is licensed pursuant to title 32, chapter 13 or 17 does all of the following:
C. If a patient admitted to or being treated in an inpatient psychiatric facility under the authority of an agent pursuant to a mental health care power of attorney manifests the desire to disqualify an agent or to revoke a mental health care power of attorney and requests in writing to be discharged from the facility, the facility shall either discharge the patient or initiate proceedings for court ordered evaluation or treatment pursuant to chapter 5 of this title: