's I've had a few moments like that and no doubt there'll be many more. It does make you feel awful, but your DS wont remember, let alone be scarred by it.
Be kind to yourself, sleep deprivation does horrible things to the best of us. You are not a bad mummy, a "bad mummy" wouldn't care.