Were the loans charging interest during that time though? You could have put the money in CDs / I bonds / savings account, earned some interest, then paid it all towards the loans when the pause ended.
But yes then I would agree, doing that and then putting it all towards the loans before the forgiveness ends would have been better.
But having really done nothing, if I had just continued to pay it that would have been better.