Rest API to check and stop Appium?

Hi, I’m automating my mobile tests with Appium and trying to automate the Appium initialization also. I cant find in the documentation if its posible to question via Rest to Appium that its already running. When i finish my test, i wish to stop Appium via Rest API also and not killing the process.

Is there any solution or i’ve to go by the ‘hard way’ checking the logs and killing the process?

thanks in advance!