The rebel Libyan National Army (LNA) has released a Turkish cargoship seized on 5 December after allegedly straying into a no-sail zone.
A fine was imposed on the 8,500-dwt Mabrooka (built 2005).
The Jamaica-flagged vessel had been intercepted by LNA forces and towed to the port of Ras al-Hilal.