Except as provided by section 481, or by the insurance contract, if a peril insured against has existed, and the insurer has been liable for any period, however short, the insured is not entitled to return of premiums, so far as that particular risk is concerned.