You did the right things.
I bet you will be able to let go of it much better now.
It sounds like your experience and what you've learned kicked in pretty instantly. I know it's distressing to experience those feelings, but I don't think the mere fact that you felt them is a bad sign. What counts is what you do with them.
I think you did great.