Don't worry, you can close your blocked account and get the money back to your account if your visa is rejected by the German embassy. Contact the bank and inform them that your visa was rejected and they will close the account and refund your deposit (minus transfer and opening costs) back into the bank you used to transfer your deposit.