Happy ending. Many an old Hollywood movie had endings where, in spite of the conflicts and problems in the movie, the hero and his gal would sail off into the sunset at the end. Sometimes the term is used sarcastically to suggest the exact opposite “She asked how my life has been and I said I made a million bucks and sailed off into the sunset, how about you?” (Compare to Fairy tail ending.)
“So she married the doctor and sailed off into the sunset, or so they say.”