Are you thinking of a specific time period? There are instances of captured ships being repurposed. USS CHESAPEAKE for example was captured by the British during the War of 1812.
I used to think ships were scuttled to avoid capture.