How to use "realizing" in a sentence

Sentences

Jean Valjean left the town and ran into the countryside, blindly following lanes and paths, not realizing that he was running in circles

Marius caught her and held her tightly in his arms without realizing what he was doing, lost in a mist of love

He complained that Sala spent too long running, not realizing that she was waiting..

Then, realizing that he was alone, he ran along the road after the cart, with the big man behind him