I am so sorry that you are experiencing this. I wish the situation you described was an outlier, but I fear it is not. I hear this far to often to have these situations be outliers. It is a shame that hospitals seem to suffer no consequences for premature discharges. There are real consequences to untreated psychosis (we have webinar material covering this material).
There are penalties in general healthcare that penalizes the hospital and physicians for bad outcomes. We need to hold the behavioral health providers to the same standards. Our system should do better in protecting our most vulnerable.