Grimly, he realized he wouldn't be catching a nap for some time.
The more he realized the absence of all personal motive in that old man--in whom there seemed to remain only the habit of passions, and in place of an intellect (grouping events and drawing conclusions) only the capacity calmly to contemplate the course of events--the more reassured he was that everything would be as it should.
When the captain went out and he was left alone, suddenly he came to himself and realized the position he was in.
In another moment Davout would have realized that he was doing wrong, but just then the adjutant had come in and interrupted him.
Prince Andrew dimly realized that all this was trivial and that he had more important cares, but he continued to speak, surprising them by empty witticisms.