An Air Canada flight headed for Shanghai was forced to make an emergency landing shortly after taking off from Trudeau airport on Saturday.
Passengers onboard flight AC017 reported hearing unusual sounds as the plane pulled away from the tarmac.
"Already a few moments after take off, we knew something wasn't working right," said Josh Jacobs, a Boston resident who was on the flight.
"But the captain intervened quickly and made an announcement, which avoided panic."
Officials with the airline said a warning light came on in the cockpit of the Boeing 787. The crew, following emergency procedures, shut down the engine, dumped fuel and contacted emergency teams on the ground.
Jacobs captured an image of the fuel dump on his phone.
The emergency landing was executed without incident, the airline said.
"Our technical team will proceed with an inspection of the engine to determine the cause of the incident," said Isabelle Arthur, a spokesperson for Air Canada.
There were 213 passengers onboard the flight. Air Canada arranged for them to continue to Shanghai on Saturday evening.