Thank you so much!
Energy depletes when you use the sword, and you can recover it by standing still for a bit.