Crash loop: cannot stop, redeploy or remove app

When an app deployment is stucked in cash loop, there is not way to stop, redeploy or remove that app. If we try any of those operations, there is a message stating:
“Specified action cannot be performing when app in is deployment state”.

Application has 1 pods. 0 starting, 0 terminating and 1 in error

29 Jun, 11:13:29.950
|__ Pod app-zcf110831-86dcb9cccd-856r2 is FAILING: crash loop, pod is restarting too frequently. Look into your application logs


I also would like to know how to terminate the deployment earlier and if there is some kind of configuration to reduce the number of attempts and the timeout of the process.