That is exactly what the return does. What is so special about the code reaching the closing brace of loop() ?