The $finish is a system task, which is used to stop the simulation. It shouldn't be used in the RTL, but in test bench (so in a code that will not be synthetized).
Depending on your design, you can control some exernal switches, power-downs or another circuits to enter the low power mode (or to cut the power supply as ThisIsNotSam wrote).