A judge has warned the wife of a Pacific Blue pilot on trial in the Queenstown District Court to refrain from contemptuous comments during proceedings or face jail.

The Papakura pilot, 54, who has interim name suppression, appeared before Judge Kevin Phillips charged with operating a Boeing 737 in a careless manner on June 22, 2010, a charge laid by the Civil Aviation Authority.

The pilot's wife was asked to leave the court yesterday afternoon after making a comment regarding a question posed by prosecutor Fletcher Pilditch.

In court this morning, Judge Phillips told her the comment was uncalled for and contemptuous of his court.

"Normally people in contempt are sent to jail.

"If the comment is repeated it will result in you going to jail. Your husband has got a hard enough task.''

She apologised to the prosecutor and the court and withdrew the comment.

Defence lawyer Matthew Muir said the couple were under extreme emotional pressure.