Puss in Boots would probably not act cocky in a situation that hes not familiar in. He is quite manipulative when he wants to be, and knows how to read the room to the best of his ability so him living through the 24 hours alloted seems quite doable, he just needs to do normal cat things instead of supernatural cat things, like sleep for 18 hours.