There is usually a moment. You hear your own mother's words come out of your mouth, or you catch yourself doing the opposite of what she did and feel a small, private satisfaction about it. Either way, the realisation is the same: your childhood is still running in the background, shaping decisions you thought you were making fresh.
This is not a failure of self-awareness. It is how early experience works. The question worth sitting with is not whether your upbringing shapes how you parent, it does, reliably, but how that shaping happens without your permission, and what you can do once you notice it.