You can die by either having an enemy ring the alarm or if you run out of shots - the difficulties dictate how many max shots you have