how to stop heroku app and startup code example
Example 1: how to stop build in heroku
heroku plugins:install heroku-builds
heroku builds:cancel -a YOUR_HEROKU_APP_NAME
Example 2: heroku restart
heroku ps:restart web -a <my app name>
heroku plugins:install heroku-builds
heroku builds:cancel -a YOUR_HEROKU_APP_NAME
heroku ps:restart web -a <my app name>