Terminates the current path.