Can a hospital refuse to release patients who want to leave?

Hospitals. Patients can sign themselves out against medical advice if they are not minors, are not danger to themselves or others and are able to care for themselves.