It's possible to lose lucidity. It sounded like you were lucid, but the question that determines that is: did you know that you were dreaming?

Especially in your first lucid dreams, it's not always that easy to control them. Don't worry, that comes with practice.