How long will a amplifier last if it's stored away in a box? Is there a shelf?
The process by which electrolytic caps self-heal is suspended when not powered. Caps can become severely dried out as a result.
There is no hard expiration date, but any equipment that uses electrolytic caps (not just amps) and has been in storage for a long time should be brought back to life slowly and safely on a variac, as long as it has a linear power supply (SMPS-powered equipment is another story, but few audiophiles own any). The variac process allows caps to reform. Long-stored equipment should never be plugged straight into the wall.
A variac is a variable AC supply. It's quite inexpensive and well-worth buying if you plan on putting any long-stored gear back in service.