Chicago White Sox reliever Danny Farquhar has been released from a hospital, and a doctor who treated the 31-year-old right-hander expects he will pitch again but not this season.

The White Sox said in a statement Monday that Farquhar is resting at home with his family after being discharged from Rush University Medical Center.

Farquhar collapsed in the dugout with a brain hemorrhage caused by a ruptured aneurysm during a home game against Houston on April 20. He had surgery the following day.

Neurosurgeon Dr. Demetrius Lopes expects Farquhar will be able to pitch again but said he won't medically release him to throw in a game this season so he can fully recover.

Farquhar is 10-15 with a 3.93 ERA and 18 saves for Toronto (2011), Seattle (2013-15), Tampa Bay (2016-17) and Chicago (2017-18). He was a 10th-round pick by the Blue Jays in the 2008 amateur draft.

"Farquhar and his family have appreciated the many cards, tweets, texts and well wishes they have received from friends and fans over the past weeks," the White Sox said in the statement.