He's ok now because you acted fast. You must have been so scared. You weren't yelling from a mean place you were yelling because of fear.
We all act out of character when we're scared.