Hard to say. You might just have to wait it out. Your snake will either stop or the mouse will die eventually.

Is there any way that you could separate the two of them safely?