An HOA foreclosure will not extinguish a superior lien (in this case your mortgage) and therefore it is still attached to your property. Assuming that you signed the Promissory Note, you remain personally liable for the loan amount. In the event that the such mortgage payments are not paid the bank will indeed file a foreclosure action against anyone that has an interest in the property. This includes yourself and the HOA. You may want to contact your HOA's attorney and see if they would be willing to enter into a payment plan and reissue a certificate of title in your name.