The entire select case construct is terminated with:

Stop select

End if

Case End

End select