No, you can't die in the Maze and you won't restart it from the beginning if you are hit by a trap. Moreover, the trap will be disabled as soon as it catches you. However, you will still lose some of your health. The more health you have, the greater the reward.