As a practical matter, the HOA is going to get six months of delinquent dues from the new buyer, because they have a statutory lien (agents, correct me if I'm wrong here - but it seems like this is true in every state of the union) for six months worth of dues.
If it goes to foreclosure and doesn't sell, the bank/servicer/whoever frequently corrects the delinquency and brings the account current, which would take you off of the hook.
So. You owe $6000. You may get bailed out of some or most of it, but if you aren't bailed out of all of it, it will go to collections and they will hunt you down for . . . some period of time.
All the best,
If you cannot find a clear answer in the documentation or if you do not have the HOA docs I, too, suggest that you seek legal counsel. That is obviously true if the HOA is trying to collect from you.
One of the things we advise our short sale clients not to do is to stop paying for HOA dues and insurance. it makes it extremely difficult to do a short sale with such liens. Furthermore, HOAs can sue and sometimes foreclose just like any other lien holder can.
When your home was foreclosed, it may or may not have resulted in settling all liens against the property. But get your real estate attorney to determine what you can do to protect yourselves from further obligations on the property you no longer own.