i believe he slept through everything that happened after king's attack, even if it was only for a couple of seconds.
1 second can be decisive in a battle (hakkai), so had king capitalize on that and followed up with attacks, sanji would've been dead by now, instead king just took to the sky forgetting sanji ever existed.
but this is one piece and tension is a crime, so it doesn't really matter.