From the era of military service that I come from, this mishap would be viewed as a golden opportunity for some real-world training. Hopefully, whatever officer was in charge took advantage of this.
I believe it was a training exercise, where this occurred.
I’m not privy to enough information to know if this could have been avoided once the tug lost power. Some things just happen, and you can’t avoid them.