os.shutdown
From ComputerCraft Wiki
| Shuts down the computer | |
| Syntax | os.shutdown()(None) |
| Returns | None |
| Part of | ComputerCraft |
| API | os |
Examples
| shut Down | |
| Code |
os.shutdown() |
Alternatively you could hold ctrl + S for one second to shutdown the computer outside of a program.