Maze solver "stop" method?

You call it by putting the function name in your code followed by brackets:

unsigned long now = millis();

I suggest you look at the 'blink without delay' example sketch to see how you would use this to do things when a given time has passed.