How to Cancel Specific (Nested) Macro but not Top Level Macro?

See the Cancel a Specific Macro action on the Wiki.

“Cancel a Specific Macro (v9.0+) — Cancels a specific macro instance (from the %ExecutingInstance% or %ExecutingInstances% tokens).”

Look here for an explanation:

How Do We Use %ExecutingInstance% token? - #4 by kvanh