“And it is He who takes your souls by night and knows what you have committed by day. Then He revives you therein that a specified term may be fulfilled. Then to Him will be your return; then He will inform you about what you used to do.”
The word “yatawaffaa kum” here is used in meaning of taking away the soul but not death, because He also says He revives whoever He wills.
In the next Ayah he says:
“And He is the subjugator over His servants, and He sends over you guardian-angels until, when death comes to one of you, Our messengers take him, and they do not fail [in their duties].”