After a WorkflowCancellation the orchestrator will wait until a top-level step and its hook are completed before the WorkflowCancel
For I example, I had a workflow containing a checkout and a junit/execute.
I had also 1 hook containing pre and post step for the junit/execute.
I killed the workflow during the hooks before the junit/execute, the workflow stopped only after the "after" steps.
Edited by Kevin Ung