If the rats eyes are closed it cannot do much harm, and can be left for a bit with the snake. Are you staying there? Where you can keep an eye? Or leaving, and it would be completely left on its own?