The train headed north and gradually disappeared over the horizon.
Tips
usage
驶往 specifically refers to vehicles, boats, or aircraft moving toward a destination. It is not used for people walking. Compare 前往 (qiánwǎng) which applies more broadly and is also used for people.