Kaptar's power is supplied by a giant wind turbine high above where you arrived. From the Swap Machine that you used to disable the red beam, turn around and head back across the front of the temple ...