Suspected Somali pirates have fled a Yemeni fishing boat they seized off the Horn of Africa and operated for five days.