The boys waved goodbye as the train took off and passengers watched in shock