According to someone on pie and Bovril we actually cancelled the loan agreement and then took Shaw back on reduced terms - however that's someone who seems to have access to information people like me don't.
Says on the Barnsley site that it was following an appeal process but doesn't say more than that. Edited to say the appeal was from Barnsley apparently to the FA re paper work to make sure the deal was done before the transfer window closed.