Unemployment/school

I got laid off from my job and now I'm collecting unemployment but I want to go back to school. Does anyone know if my unemployment will end if I go back to school? I tried calling the labor department and all they said is that they would give me a hearing if I enroll in a school and they will decide. In in CT.