BUENOS AIRES — Argentina’s military intelligence director resigned Thursday, the latest casualty in a dispute between Argentina and an American hedge fund over ownership of an Argentine Navy training vessel that is impounded at a port in West Africa.

The departure of María Lourdes Puente Olivera, a civilian and the first woman to lead the intelligence agency, comes two days after the resignation of Argentina’s navy chief and the suspension of two other highly placed navy officials. Those events came amid a Defense Ministry investigation into a last-minute change to the vessel’s itinerary, which had it stop in Ghana rather than Nigeria, as originally planned.

The Libertad, a three-mast tall ship with 330 navy cadets and crew aboard, was seized at Tema, an industrial port east of Ghana’s capital, Accra, on Oct. 2 through a court order obtained by N.M.L. Capital, a holdout creditor from Argentina’s default a decade ago that says it is owed more than $370 million. The creditor is among a few remaining holdouts to refuse debt restructuring agreements in 2005 and 2010. It had tracked the vessel through the Libertad’s Web site.

N.M.L., a subsidiary of Elliott Capital, a New York-based hedge fund with $20 billion under management, offered to release the ship if Argentina paid a $20 million security. It also offered to bear the costs of flying the sailors home.