Terminating an invocation also destroys any browsers associated with it.
Via API
You can stop an invocation by setting its status tofailed. This will cancel the invocation and mark it as terminated.
Via CLI
Usectrl-c in the terminal tab where you launched the invocation.