He has to contact the business office of the facility. Simply call there and ask politely what the procedure is to get the remaining balance left in their commissary account.
https://www.inmateaid.com/ask-the-inmate/i-put-money-on-my-friends-commissary-account-but-he-was-released-the-same-day#answer
Accepted Answer Date Created: August 22,2016