There would have to be a pretty interesting contract that states if the client defaults that they retain ownership of any work related. They may likely be able to make some claims around any IP related.
But you can put anything in a contract, so whose to say.
But you can put anything in a contract, so whose to say.