Can LUA trigger low power mode?

I have an input set to wake up the gateway when it goes high so the alarm can be sent and also have it set to wake / sleep on certain intervals, but when the input goes high and triggers the wake up and the lua event, after the message is sent I see no way to put the modem back into low power mode. As long as the input is high it will stay on. I would really like to just have the device wake up for a short period any time the input changes state then go back to sleep (programmatically if possible).