Yes, you signed both a Note and Deed of Trust. CalHFA subordinate financing {second, third and fourth loan(s)} is secured by a recorded lien on the property. If you pay off the first mortgage by selling the property, refinancing the first mortgage,  at maturity of the first mortgage, transfer title to the property, or allow others to assume the first mortgage, the subordinate financing becomes due and payable.

These loans are not forgivable, nor do they go away after a period of time.