Many things can have a negative effect on libido let alone erectile function.
Excess stress (mental/physical), lack of quality sleep, poor diet, lack of exercise, excess alcohol.
Glad to hear you are going back to work.
You need labs to see where your TT/FT levels sit at the true trough on such protocol (dose T/injection frequency) let alone where your e2 sits as excess alcohol consumption can have an impact and can result in elevated estrogen and decreased IGF-1
Did you put on anybody fat during the time you have been off work as it can affect your T levels?