Call the do_exit function with the new route.