Hi, not to dissuade other answers, but this question has come up quite a bit in the past, in the FAQ there is this answer by /u/kieslowskifan.
https://www.reddit.com/r/AskHistorians/comments/3r6qy0/why_was_napoleon_exiled_rather_than_executed/cwlv0f8/?context=3