Somali security forces have rescued an Indian cargo ship seized by pirates earlier this month, but the hijackers took nine of the 11-man crew when they fled ashore.
They are thought to be being held near the city of Hobyo.
The Al Kausar was one of three vessels to be hijacked after a five-year lull.
On Sunday sailors from the Indian, Pakistani and Chinese navies freed the crew of a Tuvalu-registered vessel which had been boarded by pirates.
The two crew members who were rescued were in a car that the pirates abandoned after they were chased, Mohamed Hashi Arabey, vice president of Galmudug state, told Reuters news agency.
Pirates contacted by Reuters said they would keep the crew to try to secure the release of more than a hundred pirates jailed in India.
Piracy in the waters off Somalia and Yemen peaked in 2011, with more than 200 attacks.
But it has dropped significantly in recent years, in part because of extensive international military patrols as well as support for local fishing communities.
However, the factors that drove many Somali coastal fishermen to become pirates nearly a decade ago are still there, says the BBC's security correspondent Frank Gardner.
Somalia is currently in the grip of a famine. Poverty is widespread with few employment options for young people.
There is also continued local resentment at the poaching of fish stocks off the coast by Asian trawlers.
Latest Stories
-
WAPCo postpones maintenance exercise to avert looming dumsor
10 minutes -
Sacking Otto Addo is the only response to poor Black Stars performances – Osei Palmer
32 minutes -
Investigators scale barricades to arrest S Korea’s impeached president
1 hour -
Reece James late free kick cancels out Semenyo stunner
1 hour -
IPPG calls on Mahama to retain and reset the Emissions Levy
3 hours -
Resetting the Ghanaian Economy: What to focus on
3 hours -
Mahama’s visit to Bawku is critical for lasting peace – National Peace Council
4 hours -
Scores injured in Walewale as soldiers are accused of brutal assault
4 hours -
Mahama meets Mamprugu king over Bawku chieftaincy stalemate
4 hours -
Mahama calls for robust investment to uplift vulnerable populations
4 hours -
Social media hate speeches harming peace efforts in Bawku – Peace Council
5 hours -
Policy Expectations of the New Government: A robust asset and liability declaration framework
5 hours -
Engender trust to resolve Bawku crisis – Former Defence Minister Dominic Nitiwul advises
6 hours -
Guardiola divorces wife of 30 years
6 hours -
Up to 4 in 10 people could develop dementia after 55. What you can do to lower your risk
6 hours