The answer is - A battery
After I have risen to my fullest height, I am sentenced to die at the peak of my life. I live in a box, only to be killed in 5 minutes at the touch of a light. What am I?