The damaged "Yorktown" however, was not completely crippled. The Pearl Harbor Naval Shipyard worked all day and all night, and in 72 hours she was ready to battle for two or three weeks. Her flight deck was patched, sections of internal frames were replaced, and several squadrons of aircraft were taken from "Saratoga". The pilots did not get time to train. Repairs on Yorktown continued even as she sailed out.