What was the US Navy vessel captured by the Iranians? What was its mission?

This is a serious question and I don’t know the answer – when was the last time US soldiers or sailor were prosecuted or court-martialed for surrendering to the armed troops of another country? I don’t recall ever hearing of it, but I could certainly be wrong.

I think there’s a term for armed resistance to capture after incursion into foreign territory.

Oh, yeah, “act of war”.