I am not sure what Shaman power you are referring to, but if it is the At-will one that allows an Opportunity attack if the enemy moves away from the spirit companion, it would not have worked in this instance. Forced movement does not provoke opportunity actions, which that shaman power is.