The program will continue evaluating until you stop it (i.e. with the REBEL button) or when a mate is found, or when the maximum ply depth is reached.