Six commuter rail trains on the Needham and Fairmount lines were canceled starting around 2 p.m., as well as six Amtrak trains, officials said.
No injuries were reported, but the situation was causing delays to inbound and outbound trains at South Station.