***Consult legal service***
Mark is right. Your money was supposed to be held in an escrow account. Take a bold step to ask your bank if such amount was requested. I will not say the agent has to be blamed, except the buyer situation was all set up. Here are couple of things that should take place or should have taken place.
1st, your bank must be aware of that attorney. He must have informed your bank that you made the payment for that process to continue toward closing.
Next, or at the same time, your agent needs to pursue selling your property. Buyers are walking off on short sales before approval, but good news, the short sale is approved. I love to jump on the ones that are already approved, no waiting time. He can market it for another buyer. Your lender will give him time to do that.
Continue with legal action. You may recover your money before next closing. I am sure that if your bank sees proof that you paid that money toward closing, your bank will go after who has the money.