Trains were cancelled while emergency services dealt with the incident