Why would an unpatriotic conscripted army with a much lower number of loyal soldiers compared to random people continue to fight a losing battle against a superior rebel force, which stood to have a good chance of capturing the kingdom. The soldiers are obviously losing, unenthusiastic, and will probably not face recriminations for deserting and going home (the king has other problems, eg. the huge rebel army on his doorstep).
What reason could the troops have to continue fighting?