If illness or accident prevents a purchaser of a farm from cultivating his farm or harvesting any crop, the department may enter and cultivate the farm or harvest the crop. In such event the department has a first lien upon the crop for all moneys expended and may sell the harvested crop. Out of the proceeds of the sale the department may reimburse itself for any expense which it has incurred in the cultivation of the farm, the harvesting of crops and the sale thereof, and retain any moneys due to the department from the purchaser. Any balance shall be paid by the department to the purchaser.
Ca. Mil. and Vet. Code § 987.81