For the answer as to how your ancestor got out of the infantry, you'll have to consult his military service file. Anyone having access to a horse or mule could join the cavalry. Of course we can help with both service files.
Confederate soldiers still serving with their commands when the surrender agreement at Citronelle was concluded received orders to report to certain points to receive their paroles. Evidently this soldier was directed to Jackson MS.