Shaking?? Or undulating? They will undulate their whole body to help move the food down into the stomach. Some are more dramatic about this process than others.
Is it still happening after time has passed? If so, then I have no idea and would have to wonder if there might have been some sort of chemical contamination on the prey item. A video of the "shaking" might help, too. But if it's something more than normal body movements while eating, there won't be much we can do to help except recommend a visit to a qualified vet.