the battle went on for many days , until the rebels were weakened so that they could no longer issue into the plain to fight , but instead must remain above in the pass and fight on that narrow front .