How do you end/ stop a custom event?

Try this: