Hence, optimal control of T2DM, for both chronic and transient cases, might help in the treatment of COVID-19.