The entire select case construct is terminated with:

Stop select

End select

Case End

End if