The damaged Korean Air plane got stuck in the grass near a Filipino Monday at the airport after it overran the runway in rainy weather the night before. Among the 162 passengers and 11 crew members who escaped from the plane with the help of emergency slides, there were no injuries.

Dozens of flights were canceled and Mactan Cebu International Airport, one of the country’s busiest, remained closed after the plane came to rest at the end of its lone usable runway.

The horrific close call prompted a public apology from Korean Air’s president and a pledge from one of Asia’s most famous airlines to take steps to prevent a repeat.

“We always prioritize safety in all our operations, and we sincerely regret the stress and inconvenience caused to our passengers,” Korean Air President Wu Kihong said.

The front bottom of the plane was sheared off and the nose was badly damaged. The plane was leaning forward in a grassy area, its front landing gear was not visible, and emergency slides were deployed at the doors. A gaping hole was also visible in the top of the plane near the front door.

Philippine officials said the remaining fuel from the plane would be pumped out before efforts began to remove the plane from the end of the runway. Authorities were also assessing whether other planes stuck at the airport could be allowed to depart safely.

Dozens of flights to and from Cebu province were canceled, including Philippine Airlines, which initially announced the cancellation of more than 50 domestic flights.

An investigation into the accident was conducted in the Philippines.

An Airbus A330 flying from Incheon, South Koreaattempted to land twice before overshooting the runway on the third attempt, Korean Air Lines Co. said in a statement.

“All passengers are safe and under the supervision of ground personnel,” the Civil Aviation Authority of the Philippines said in a statement.

There is another use for vegetable oil and other by-products of forestry and agriculture: feeding jets. Amanda Simpson, vice president of research and technology at Airbus Americas, says it wants all its planes to run on green jet fuel by the end of the decade.