How can I return to loop from another function?

that works

void somefunction() 
{
  some code
 //and then return to the caller
}

void setup() 
{
   somecode // called once for you
}

void loop()
{
   somefunction(); // that will be called repetitively 
}

as long as you don't have an exit at the end of your somefunction() or it does not crash...The loop will loop...