Please clarify what you mean by "reimburse."
Are you asking about avoiding the 10% penalty on a non-qualified 529 distribution because of a scholarship that the beneficiary previously received?
Are you asking about a recontribution to a 529 account for all or part of a previous distribution due to a refund received from the school because of a scholarship that the beneficiary received?
Or something else?