self discharge from hospital related searches
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2664598/

In cases where a patient decides to leave against the doctor's recommendations, the case will be labeled a discharge "against medical advice" (AMA). The AMA designation is used in part to legally shield the doctor and hospital from liability if a patient gets ill or dies as a result of the premature discharge.

https://www.verywellhealth.com/choosing-to-leave-the-hospital-against-medical-advice-2614871

Each hospital has its own discharge policy. You should be able to get a copy from the ward manager or the hospital's Patient Advice and Liaison Service (PALS). Once you're admitted to hospital, your treatment plan, including details for discharge or transfer, will be developed and discussed with you ...

https://www.nhs.uk/using-the-nhs/nhs-services/hospitals/being-discharged-from-hospital/

Junior doctors are increasingly being asked to talk to patients who are looking to self-discharge. There are reports of rising numbers of self-discharges from hospital,1 and the ability to assess a patient requesting their own discharge from hospital is a necessary skill for all new doctors.

https://www.medicalprotection.org/uk/articles/dealing-with-patients-who-want-to-self-discharge
https://doclibrary-rcht.cornwall.nhs.uk/DocumentsLibrary/RoyalCornwallHospitalsTrust/Clinical/SafeguardingAdults/SelfDischargePolicy.pdf
https://www.nursingtimes.net/clinical-archive/patient-safety/preventing-unsafe-discharge-from-hospital/7005717.article
https://www.nursingtimes.net/news/hospital/out-of-step-nhs-self-discharge-process-in-need-of-overhaul/7023735.article

In the second audit, capacity was documented in 80%, 80% signed the new self discharge form, 41% were reviewed by a doctor prior to leaving, and 0% left the department without being reviewed. Discussion: Self discharge may be a significant risk to both the patient and the hospital trust.

https://emj.bmj.com/content/22/7/499