Website policy, and California law prohibits me from recommending a course of action in this forum. That said, if the client has terminated your agreement, and you cannot complete the work, but you have agreed under the contract to provide certain tangible output, then you are obligated to provide whatever tangible product you have, regardless of its unfinished form. If there is nothing at all that you can provide, without doing more work, then you would provide nothing.
Example: Let's say that you drafted a press release, but the last paragraph is unfinished. You would provide the release in its unfinished form. Let's say that you only wrote an outline, but no actual text. You would provide the outline. Let's say that you only thought about the outline, but never put anything on paper. You would provide nothing.
The botXXXXX XXXXXne is that if you are terminated, then you are not obligated to do any further work. But, if the client paid for a tangible result, then the client is entitled to whatever tangible result exists at the moment of your termination.
You can also stand ready to resume work, assuming that you are paid for the work already done -- and you could request adequate assurance that you will be paid for the remaining work, for example by requiring that the client open an escrow account with the remainder of your payment, before you continue to perform.
Hope this helps.
And, if you need to contact me again, please put my user id on the title line of your question (“ToCustomerrdquo;), and the system will send me an alert. Thanks!