What do you mean switch off, shut down? The computer doesnt shut down instead it keeps restarting is that the question? The CD ROM should be fine when a computer keeps restarting it could be a heat issue or a hardware issue. Is the CD Drive near the CPU?