This is why a lawyer is a good idea in this situation.
You can fight the foreclosure to leverage a stipulation from the bank that there be no deficiency judgment.
Just deed the property back to whoever the assigns is and walk. There is no foreclosure so there can be no deficit. Make sure you take lots of pictures of the property with witnesses when you leave, and call the local cops and inform them it is vacant.