What is the purpose of deposit in this case? It is not the rental deposit. It is the deposit for your promise: you will move into her house so she will not consider any other offers. Now you said you want to quit, she has to do the whole process again. Does not she deserve to keep the money? Think about this, you broke your promise!
I do not own any house so I have never been a landlord. Do not be so selfish!