Insurance Code § 1979
ARTICLE 5. Loss in Marine Insurance
Whenever a marine insurer pays for a loss as if it were an actual total loss, he is entitled to whatever remains of the subject matter insured, or its proceeds or salvage, to the same extent as in the case of a formal abandonment.