Blockade a space dock of the player who captured them.
Your captured non-fighter ships and mechs are returned to your reinforcements. Captured fighter and infantry tokens follow a different rule.
LRR v2.0 (base game / Prophecy of Kings); specific card abilities may override the general rule.