That wont actually do anything, a simple restart clears everything in your memory. Turning it off "for a while" is pretty useless.
Sometimes if my comp is so FUBAR i will actually "leave it off for awhile" just because i want to believe it will work..when i know it wont...its like a false sense of security.