Shi Lang was hiding inside the swamp. He was not aware of the Shamanti leader had sent out the forces to comb through the area for him. He was waiting to heal his wounds and get out of this place. Then he will lure the target outside by hook or by crook.
On the other hand, the Shamantis were given only one day to find him. Have no confusion, one day meant from sunrise to sunset. The night was when predatory beasts fed, so moving through the woods was not a good idea. They will not be sacrificing themselves for a single Terran.
...
After an hour, Shi Lang peeked outside the swamp and found no movement around him. He was sure that while escaping, he might have left some sort of trace. He raised his head and looked at the sky. Then he thought for a bit and went back into hiding. The swamp was not too deep so, he was able to stand on the mud bed and breath through the make-shift snorkel.