I would have done the same thing except I would have smashed it on the kids head.
Why do kids need cell phones in class anyway? When I went to school if there was an emergency, the parents called the office which then called you, so the only other reason to have them must be to fuck around.