The film subverts the typical Hollywood happy ending. After dominating the blackjack tables in Las Vegas and growing close, Charlie and Raymond return to Los Angeles. Charlie meets with Dr. Bruner and a court-appointed psychiatrist to determine custody. During the interview, it becomes heartbreakingly clear that while Raymond has bonded with Charlie (calling him "Main Man"), he is incapable of deciding where he wants to live and cannot differentiate between staying with Charlie and staying at the hospital.
Charlie, realizing that he cannot provide the structure Raymond needs and that keeping him would be selfish, accepts the $25,000 payoff (which he previously rejected) not for himself, but to let Raymond go back to Walbrook. The film ends with Charlie putting Raymond on a train (a compromise, as Ray fears planes), promising to visit. Charlie gains no fortune, but gains a brother and a soul.