I feel like the capture should be "after battle" instead, otherwise if he's alone then he would capture himself and lose the rescue attempt (I think, not entirely sure how "at end of battle" triggers actually are timed with battle resolution).
I don't think you can be protected from yourself, so I'm not sure that Caves would actually protect from his self-capture.