A red train on the tracks came head-on with its lights on after a few loud warnings.