People wave to their family members as a train drives away.