The episode marked the latest twist in the ongoing dispute between Jean Kasem and her stepdaughter, who has said in legal filings that her father suffers from a form of dementia.
At a Monday afternoon court hearing in Kitsap County, a judge said Kasem can go back to the Washington home where he's been staying with his wife if doctors approve.
The judge also chastised Kasem's wife for playing a video of him allegedly moaning and said if it happens again she'll take action.
Kasem is "very near the end of his life," his wife said Monday, and a doctor who saw him told the court Kasem has a 50 percent chance to survive for six months. The judge was told Kasem is now at St. Anthony Hospital.
Kerri Kasem said in court last week that her father is suffering from bedsores and lung and bladder infections. A judge ruled that she could have a doctor of her choosing to examine her father.
The Associated Press contributed to this report.