The US Federal Aviation Administration lifted a nationwide ground stop after more than four hours, but thousands of flights to and from the US remain cancelled.