I have been hospitalized a few times for minor surgeries
emergency room visits, etc. They just don't let you go without proper discharge. There was some sort of serious screw up in this case.
I worked at a homeless shelter in the 1990’s. It was common practice for a large hospital nearby to give patients with nowhere to go a taxi ride to the shelter. They would also sometimes give someone a taxi voucher and a voucher for one night at a motel. In the morning, the motel would be calling the shelter: “We got this guy here with nowhere to go.”
Unfortunately you are wrong, they may have treated you better but I have personally seen this or similar incidents first hand where a taxi or police car drives up and drops the patient off frequently still in hospital gown and then takes off
Believe me I know the difference and it is by no means an isolated case