It doesn't matter - the best time to move it is usually "right now." The few days/weeks that the money is in transfer is not going to matter at all years from now. As long as you get it back in the market when you can, you're fine.
Sure, it sucks to see the market go crazy while you're basically sitting on the sidelines, but it's not a big deal in the long run.