A JetBlue flight made an emergency landing at a Jamaican airport because the pilot smelled smoke shortly after takeoff.

Maintenance teams were evaluating the flight after it landed on Tuesday due to a smoke smell. According to Alfred McDonald, a senior director at Jamaica's Norman Manley International Airport in Kingston, the Embraer 190 plane was still being assessed and it wasn't clear exactly what caused the smoke smell, the Associated Press reports.

Maintenance teams were evaluating a JetBlue plane at a Jamaican airport on Tuesday, a day after the Florida-bound jetliner was forced to return to the island because the flight crew smelled smoke minutes after takeoff.

"What we do know is that the pilot detected smoke and decided to make the good decision to return,"  McDonald told AP. It is not clear if the smoke was in the cabin.

The plane was heading for Fort Lauderdale and was carrying 98 passengers and four crew members when the plane was forced to turn around 15 minutes after takeoff. The incident caused other flights to be delayed for two hours.

Once the plane landed, emergency slides were deployed and the passengers were forced to disembark using them. Six people were injured and were taken to medical facilities in Jamaica. Five were treated quickly and were released. It is not clear how these passengers were injured and what the sixth person's condition was.

McDonald said that some of the passengers were hurt while trying to slide down the emergency chutes or get to them. He added that the worst injury was a broken ankle.

"Some persons I believe wanted to exit much faster so there was a kind of confusion which would have resulted in minor injuries to individuals," McDonald told AP.

Passengers said that many on the flight were praying out loud and some passengers suffered from panic attacks. The remaining passengers were placed on another plane to Fort Lauderdale.