Papers in progress, but am leaving academia
You can complete the papers and should if your co-authors would be disadvantaged by your quitting, assuming that it is possible.
But, a fair amount of work gets abandoned, or put on the back shelf for various reasons. If you really don't have the time to continue work on the paper(s) come to an agreement with your co-authors that permits them to continue without you. The agreement should include something about authorship, but definitely should include your permission to publish.
If you all agree to abandon the work, put it in a notebook that you might want to return to later after things settle down. You can't predict the future and should keep flexible and ready for changes.
Your statements in comments seem to imply that you are angry with the department. That is natural, but don't take actions that primarily disadvantage yourself or the colleagues you work with. &quot;Don't cut off your nose to spite your face&quot; is an old adage.