At least five people died and 40 were missing on Sunday after a runaway train carrying crude oil derailed and exploded in the center of a small Canadian town in a disaster that raised fresh questions about shipping oil by rail.

The train, which did not have an engineer aboard when it derailed, was hauling 72 tanker cars of crude from North Dakota to eastern Canada. It rolled downhill from an overnight parking spot, gathered speed and derailed on a curve in the small town of Lac-Megantic at 1 a.m. (0500 GMT) on Saturday.

Each car carried 30,000 gallons (113,000 liters) of crude oil. Four caught fire and exploded in a orange and black fireball that mushroomed hundreds of feet into the air and flattened dozens of buildings, including a popular bar.

Montreal Maine & Atlantic, which owns the line, said it was investigating the cause of the accident, but the release of the train’s brakes might be linked to how the locomotive was shut down on Friday night in the nearby town of Nantes.

Police spokesman Michel Brunet said five people died and about 40 people were missing. He also said police were keeping all options open as they investigated the disaster.

“Every time the Surete (Quebec police) needs to investigate, we need to rule out any foul play,” police spokesman Benoit Richard told reporters. “Right now, we cannot say it is a criminal act. We can only say we are looking at it as if it was.”

Nantes Mayor Sylvain Gilbert told local radio that town firefighters had dealt with a fire on the train when it was parked in the town on Friday night. It was not clear if that fire was connected in any way to the derailment, or why the train became unsecured in Nantes.

Montreal Maine & Atlantic said the engineer had secured the train in Nantes and left. It said the locomotive was subsequently shut down, “which may have resulted in the release of air brakes on the locomotive that was holding the train in place.”

The company’s statement did not mention a fire or explain when the train was shut down and company officials could not be reached to comment further.

Canada’s Transportation Safety Board said the brakes would be a focus of the investigation it has already started.

“Certainly, the manner in which the train was secured, both hand brakes and air brakes – we’ll be looking very strongly at that,” chief investigator Donald Ross told reporters. He declined to comment on Montreal Maine & Atlantic’s statement.

Montreal Maine & Atlantic is one of many railroads that have stepped up shipments of crude oil as pipelines from North Dakota and from Canada’s oil producing areas fill to capacity.

BAR PATRONS A CONCERN

On Sunday, white vapor still rose from the town center, which police have cordoned off. Photos showed shattered buildings, burning piles of rubble and stumps of burned trees.

Prime Minister Stephen Harper toured the area and compared it to a war zone.

Very few people were treated in hospitals, indicating that those caught in the blast had either escaped or died. “It is a black-and-white situation,” Quebec Health Minister Rejean Hebert told reporters.

Residents said they were particularly concerned about people who had been inside the Musi-Cafe bar, a popular night spot located next to the center of the blast.

“There was a big explosion, the heat reached the cafe and then a big wall of fire enveloped the road,” said Bernard Theberge, who was sitting on the patio of the restaurant as the train barreled into town. “There were people inside. I thought for maybe two seconds that I should go in, but the heat was too strong to get to the door.”

At 7 p.m. on Sunday, more than 40 hours after the accident, firefighters said the blaze was out.

Lac-Megantic, a lakeside town of 6,000 ringed by forests of pine and birch, is in the predominantly French-speaking province of Quebec, about 160 miles (255 km) east of Montreal and close to the border with Maine and Vermont. About 2,000 people, a third of the population, were evacuated.

A kilometer away from the train’s wreckage, water along the lake’s edge had a sheen and the rocks appeared oily. Emergency crews had placed booms in the water near the explosion site to prevent oil from drifting.

The disaster will focus attention on the merits of TransCanada Corp.’s proposed Keystone XL pipeline from the oil sands of Alberta to the Texas coast, a project U.S. President Barack Obama is considering whether to approve.

Proponents of Keystone XL, which environmentalists strongly oppose on the grounds that extracting crude from the tar sands generates more greenhouse gas emissions than regular drilling, say shipping oil by pipeline is safer than using rail cars.

“On the face of it, this should be a boost for pipeline solutions, especially given the improvements in pipeline technology over the past five decades,” said Ed Morse, managing director of commodity research at Citi Group. But he said it was too early to draw conclusions.

Montreal Maine & Atlantic owns about 510 miles (820 km) of track in Maine and Vermont in the United States and in Quebec and New Brunswick in Canada.

It carried an average of about 16,500 barrels per day of crude in the first four months of this year, 10 times more than a year before, according to data from the Maine Department of Environmental Protection.