Give it some time. I've had my snakes smack their heads against their cages before (usually because their prey was on the other side and they could see them), afterwards I give them a few minutes to gather their wits and then feed them. But she'll probably be fine.