title: How to stop an Azure function running locally my windows 10 environment
body: <p>I am creating an Azure function in java and running locally as of now referring this exmaple <a href="https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-first-java-maven" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-first-java-maven</a>.
  I am able to run it successfully. Maven commands have package,run which runs the function on my windows 10.</p>
  
  <p>The only way I know now to stop the function is kill the process in Task manager.
  There should be a better way to do this.</p>
  
  <p>Any help is appreciated.</p>