Lumerical uses an "Auto-Shutoff" feature to stop the simulation when the energy in the simulation volume drops below a threshold (typically $10^-5$).
After the run, insert a script file (Script → Edit Script). lumerical fdtd tutorial
# Standard Lumerical Scripting Language
select("FDTD"); # Select the region
run;