I think he had a panick attack when you yelled and he realized he did a no no. I'm sure you had that "oh my god" tone in your voice. Because I would have freaked out too if my dog darted out the door. Poor boy. I think he just freaked out a little. Glad they are ok.