Sarah Parker has been jailed for 10 months after exposing herself and threatening to urinate in the cabin of a Tui flight from Birmingham to Orlando, forcing the plane to divert to Manchester Airport.

The 30-year-old mother of two, from Halifax, had been drinking before the morning flight on 24 July last year. Shortly after take-off, she shouted that she wanted to get off the plane, then demanded to use the toilet. When cabin crew told her she would have to wait, she pulled down her shorts and underwear and threatened to urinate in front of passengers.

William Donnelly, prosecuting, said more than 250 passengers were on board the Boeing 787 Dreamliner, including many young families travelling for their summer holidays. Parker got out of her seat while the “remain seated” light was still on and moved towards the front of the aircraft. She shouted and swore despite repeated requests from crew to calm down.

Donnelly said: “It was apparent she had too much to drink and was drunk. The captain was informed of the disturbance.” He added: “There was an escalation when she tried to use the toilet. The aircraft was still in take-off mode and she was told she would have to wait.”

The court heard that crew issued a formal warning that the flight might be diverted. Donnelly said: “So seriously did cabin crew take this matter, other passengers seated near the doors were asked to use force if she approached and tried to open the doors.”

The plane was between Birmingham and Dublin. Donnelly said the captain faced a “dilemma” over whether to continue the eight-hour journey or land. He decided to divert to Manchester Airport in the interests of safety.

Before landing, crew checked Parker’s phone and found abusive and threatening messages apparently sent to her by her then-partner. The court heard he was waiting at Manchester Airport for a flight to the same destination, but was arrested over the messages and also missed his trip to Orlando.

The captain had to circle over the airport to burn off fuel before landing. The direct financial cost to the airline was at least £24,500. Police boarded the aircraft and arrested Parker in the toilet. The flight took off again after a three-hour delay.

Sentencing her at Manchester Minshull Street Crown Court, Judge Matthew Corbett-Jones said Parker had voluntarily become intoxicated and her conduct “during a critical stage of flight” had raised “genuine safety concerns”. He said: “Families and children were present and would have been badly affected by this experience.” He added: “These people had no means to remove themselves from this shocking situation and effectively were forced to witness your shocking behaviour.”

Parker had admitted being drunk on board an aircraft, failing to obey the lawful instructions of cabin crew and outraging public decency. She has previous convictions for assaulting emergency workers and was subject to a conditional discharge for kicking a police officer during arrest at the time of the incident.

Zahra Khan, mitigating, said Parker had stopped drinking and sought help for alcohol and drug misuse, and was deeply ashamed of her behaviour. Parker was also banned for life from travelling with Tui.