Was one of the contingencies that the house did not appraise for the contract price? How is the deposit held or where is your money? Getting it back may be the difficult part if the seller sees things differently. Your agent should handle getting the deposit back for you, in my opinion.