The node will continue to request and accept headers, so the stronger chain will be found if it exists. If there is a validated header for a block which cannot be found, height remains at the parent of that block until it is found or a stronger chain is found.