tl;dr:(1) "The greatest boost to productivity is ownership." If you feel like you've lost ownership over something, one sentence (or action) can make you feel like you have regained it. (2) Build your resilience through exercise, meditation and "subjecting yourself to extremes" e.g. cold showers. (3) Calibrate your energy using power poses and restful sleep.