Need HELP for a Arduino Menu code

I believe it works like "break;", I just found that code somewhere on the internet. I'm just bad at coding as you may notice.