stop running the shortcut while it's working

i want to make a choose menu to stop shortcut while it's working (play sound) so it's gonna look like alarm in clock when it's ringing there's a button to stop but i don't know how to make this code in shortcut

stop running the shortcut while it's working
 
 
Q