Sailors had been released after talks between the owners of the ship and the pirates, Censor.NET reports citing Radio Liberty.
The sailors were at the Frankfurt airport and would return home next week.
The BBC Caribbean cargo vessel belongs to the German Briese Schiffahrts cargo company. It was attacked in Nigeria's waters on February 5.
Donbas militants demand that Ukraine transfers killers, rapers, and those who brutalized perished soldiers, - MP Iryna Herashchenko(0)
"Two our men were killed. We will avenge them and push enemy as far as Russian border," – Ukrainian marines on battle near Vodiane. VIDEO(0)