three days later general urrea managed to capture two texas companies near refugio under the commands of amon king and william ward , the latter of which had been sent by colonel fannin at goliad to provide relief to kings force .