The incident happened with six hours remaining on the flight, which is due to land in Sydney on Thursday night.