Report question

Question: How do I stop a process running in IntelliJ such that it calls the shutdown hooks?