Court discharges man accused of retaining crime proceeds