Amanda Bynes was just placed on an extended, 30-day psychiatric hold after doctors argued that the star is "gravely disabled" by mental illness.
Bynes was set to return to court and try to win her freedom, but doctors said she was not even well enough to leave the hospital to attend today's hearing.
Doctors went to a judge who went to the hospital to conduct the emergency hearing, according to TMZ, and the judge granted their request to keep her there.
The actress' 5150 psychiatric hold, which was already extended from 72 hours to two weeks, has now been lengthened for at least the next 30 days.
Taking away someone's freedom is a serious thing, and doctors can only do so if the patient is deemed "gravely disabled as a result of a mental disorder."
Amanda's parents are still expected to pursue a temporary conservatorship that would allow her parents to control her finances and medical affairs.
The status of that request is not entirely clear at this time, but what is clear is that Amanda's severe mental illness is likely worse than initially believed.
The 27-year-old was hospitalized after setting a driveway on fire in her hometown of Thousand Oaks, and is believed to have schizophrenic tendencies.
We wish her nothing but the best and hope she can find a course of treatment that helps her lead a healthy, productive and fulfilling life once again.