When a thief tries to steal your wallet on the street and you engage in a battle and knock each other both out, the wallet still remains in the pocket of the victim.
That should also be in a raid, the resources still stays with the defending player in a tie.