Indonesian air force personnel stand guard near a Virgin Australia airplane in Bali, Indonesia, Friday. Pic: AP.

BALI, Indonesia (AP) — Indonesia says it has released an Australian man who caused a hijack scare on a Virgin Australia flight to Bali by trying to break into the cockpit.

Indonesian authorities say the drunken man pounded on the cockpit door during Friday’s flight from Brisbane, Australia, forcing the pilot to issue an alert code to air traffic control. Bali’s airport was closed for nearly two hours because of the incident, forcing several flights to be diverted.

Bali police special crimes chief Col. Suryambodo Asmoro said Sunday the man couldn’t be charged in Indonesia because the plane was registered in Australia.

The man was released late Sunday and was to leave Bali on his own initiative.

Indonesian police said it would be up to Australian authorities to decide whether to charge the man.

Subscribe to Asian Correspondent

Receive our weekly round-up of the most important stories in Asia

We will never give away, trade or sell your email address. You can unsubscribe at any time.