The Malaysian captain charged in Australia over a cargo loss can now leave the country.
ABC reported that a Brisbane judge set new bail conditions for Mohd Zulkaili Bin Alias, 43.
He has been charged with environmental offences after more than 50 boxes fell overboard from the the 5,510-teu APL England (built 2001) 70km off Sydney in rough seas on 24 May.
The vessel was then diverted to the Port of Brisbane for inspection by the Australian Maritime Safety Authority (AMSA), where it remains.
One charge relates to pollution and the other to damaging the marine environment.
Bail conditions requiring him to stay on board were removed on Friday.
He will have to return to Australia to appear in court, however.
Passport deposit to be paid
Bin Alias must pay a deposit of AUD 60,000 ($41,270) before his passport is returned to him.
Another hearing was set for 27 July at Brisbane Magistrates Court.
He faces potential fines in excess of AUD 300,000 ($204,000).
AMSA has alleged the spill was a result of poor cargo loading.
It has also said insurer Steamship Mutual will have to provide security of AUD 22m to secure the release of APL England.
Australian authorities are currently embroiled in a legal suit with Yang Ming to recover the cost of rounding up containers that fell overboard from one of its ships.
The 4,250-teu YM Efficiency (built 2009) lost 81 containers in gale-force winds off the coast of Newcastle and Port Stephens in June 2018.
The total cost of the recovery operation to remove and dispose of 63 containers, which ended in early May, has been put at about AUD 17m.