Similar to Sora’s situation, Namine gives Riku the option to sleep and forget his darkness, so he can go back to the way he was before being manipulated by Maleficent and possessed by Ansem.