The Exit script keyword is part of the Exit Script statement, but can also be used to exit Do, For or Sub clauses.
Exit script
Do..loop
For..next
For each..next
Sub..end sub