Adding an Application settings value of WEBJOB_STOPPED with a value of 1 to stop the job. Here is a reference article for webjobs, https://learn.microsoft.com/en-us/azure/app-service/webjobs-create
Hope this helps and don't forget to mark answer if it helped you!