After being released in Mobile harbor, Aug 4, 1863, this man probably was given treatment at Mobile and sent home on furlough as soon as he could travel. That would be standard for all released prisoners of war. The length of McDaniel's illness (at least four months) suggests it must have been serious. He may have been released from military service on discharge sometime later. Unfortunately most records for the 23rd Alabama Regiment for the war after Vicksburg were either lost or destroyed.
You also asked about the bounty. In the summer of 1861 it became obvious that the war would last for a longer term than originally thought. The Confederate government needed to create a long-term army to replace the twelve-month volunteers who had enlisted after Fort Sumter. To encourage men like Robert McDaniel to volunteer for a longer term, Congress passed a furlough and bounty law. Men who volunteered for the war would receive a $50 bounty. Rolls were noted to show which men had or had not recieved the bounty due.