Currently the tow bar is just a visual feature and, as noted by copper, it automatically toggles when using the MSFS pushback system.
The FSX/P3D version has a custom tow bar panel due to the poor in-built pushback system but I'm not sure if the MSFS version needs one?