More than likely he got water in his throat and is trying to get it out. Just keep an eye on him. Snakes are tough animals he should be ok.