I want to note how to restore original condition of Acumatica if Unpublish project failed:
1. Restore the content of the App_Data\RollbackFilesfolder to the root folder of the website.
2. Clear the content of the CstPublishedfolder.
3. Delete the files placed in the Cachessubfolder of the App_Codewebsite folder.
4. Remove all external files deployed on the website