CalHFA down payment loans cannot be forgiven, although they can be subordinated in certain refinance cases. Here's the info on subordinations:

http://www.calhfa.ca.gov/homeownership/programs/subordination.pdf