You call the CPU halt instruction.
What if my CPU doesn't have that? I don't think Atmel Microcontrollers do for example.