Sailing into the sunset

‘Sailing off into the sunset’ has such a pleasant, romantic ring to it and brings to mind the closing scene of a feel good, romance movie, but what does it really mean?