The incident caused panic among the passengers as the aircraft remained airborne for three-and-half hours.