Upon request.
Defending a property is not a situation one puts themselves into, but the exact opposite. If your friend dies (or you die and get revived) while raiding, you may not seek revenge on the defenders who harmed you, as this was not a personal action either.