Technically, you can turn off the sun with a nuclear winter. But in that case your main problem would be starvation anyway.