Train passengers help trapped man