How to shutdown Wildfly application server service gracefully?

Hi,

Could you explain how to shutdown Wildfly application server service gracefully?

Sometimes wildfly service does not stop correctly when we shut it down with:
Control panel > Management Tool > Services > wildfly >right click and STOP

I use BonitaSubscription-7.9.1-wildfly (wildfly-10.1.0.Final)

Do you have advice and recommendations on how to make sure it always shutdown gracefully?

Thanks and regards

Honestly, the answer to this question will more likely be found in Wildfly documentation or the wider internet rather than this forum.

Wildfly is an application server. Bonita was an application that, in older versions, ran on this application server. Wildfly itself was not modified beyond some basic configuration, and is not related to Bonita.

Maybe this will help : https://stackoverflow.com/questions/34053244/how-do-i-shutdown-jboss-wildfly-when-i-cant-access-the-cli-tool ?