Need to power-cycle a poe port on an edge route / edge switch?
/usr/sbin/ubnt-ifctl power-cycle eth4 10
Boom, the undocumented command above causes the specified port interface to cycle power. It will wait for 10 seconds before turning the power back on.
If you have deployed a monitoring automation, you can use the above option to now power-cycle the port in question and assure that it will come back up.