Automatic Shutdown when remove service.

When I close a service from Task Manger named svchost.exe as suspicious service of virus, my computer shows a prompt that your computer will automatically shut down in 1:00 minute. My computer shutdowns and all the unsaved work is lost.
Please advise me how to avoid this automatic shutdown when this prompt is displayed.
