Yes , in this case Barceló was transporting Dragon troops from the peninsula to Orán. And he rejected both Algerians and arrived to his destination. He was promoted by the action .

I know that one ship of the line was sinked near from Algeria because of a storm. And there were a US frigate near from the area that reported . The Spaniard were captured by the Algerian Dey ( Sultan )

I haven’t heard of that case , but surely there were some captured