(a)
Nothing in this article shall prohibit the superintendent or professional person in charge of the hospital in which the person is being involuntarily treated from releasing him or her from treatment prior to the expiration of the commitment period when, the psychiatrist directly responsible for the person’s treatment believes, as a result of his or her personal observations, that the person being involuntarily treated no longer constitutes a demonstrated danger of substantial physical harm to others. If any other professional person who is authorized to release the person, believes the person should be
released prior to the expiration of the commitment period, and the psychiatrist directly responsible for the person’s treatment objects, the matter shall be referred to the medical director of the facility for the final decision. However, if the medical director is not a psychiatrist, he or she shall appoint a designee who is a psychiatrist. If the matter is referred, the person shall be released prior to the expiration of the commitment period only if the psychiatrist making the final decision believes, as a result of his or her personal observations, that the person being involuntarily treated no longer constitutes a demonstrated danger of substantial physical harm to others.
(b)
After actual notice to the public officer, pursuant to Section 5114, and to counsel of the person named in the petition, to the court, and to the county mental health director, the plan for unconditional release shall become effective within five judicial days unless
a court hearing on that action is requested by any of the aforementioned parties, in which case the unconditional release shall not take effect until approved by the court after a hearing. This hearing shall be held within five judicial days of the actual notice required by this subdivision.