 He was sent to the dungeon of Mogador and chained to a wall for four years.Fortunately, his friends were allowed to bring him food and he managed to survive.Raisuni was released from prison as part of a general clemency early in the reign of Sultan Abdelaziz - soon to become Raisuni's greatest enemy.