Well it's possible to maintain lucidity almost the whole night so I think you just lost it. Sometimes it happens because even though people are lucid and they modify the dream, the eventually let this dream they once controlled slowly take control of them without noticing.