A shovel, comprising: a lower traveling body; an upper rotating body provided on the lower traveling body; an electrical energy storage device (120, 19) provided on the upper rotating body; a converter connected to the electrical energy storage device; a status detector (112, 113) that detects a status value representing a status of the electrical energy storage device; and a controller that controls the converter, characterized in that at a time of starting up the shovel, the status detector detects a temperature of the electrical energy storage device, and calculates a value of an internal resistance of the electrical energy storage device based on a current value or a voltage value, wherein the controller: applies a current to the electrical energy storage device and the converter at the time of starting up the shovel, and calculates a restriction cancel temperature at which output restriction on the electrical energy storage is to be canceled, based on the temperature at the time of starting up the shovel, the value of the internal resistance of the electrical energy storage device at the time of starting up the shovel, and a temperature internal resistance characteristic, the restriction cancel temperature being a temperature at which the internal resistance becomes smaller than or equal to a threshold; and wherein the controller then determines whether the temperature of the electrical energy storage device is greater than or equal to the restriction cancel temperature, and in a case where the temperature of the electrical energy storage device becomes greater than or equal to the restriction cancel temperature, cancels the output restriction on the electrical energy storage. a lower traveling body; an upper rotating body provided on the lower traveling body; an electrical energy storage device (120, 19) provided on the upper rotating body; a converter connected to the electrical energy storage device; a status detector (112, 113) that detects a status value representing a status of the electrical energy storage device; and a controller that controls the converter, characterized in that at a time of starting up the shovel, the status detector detects a temperature of the electrical energy storage device, and calculates a value of an internal resistance of the electrical energy storage device based on a current value or a voltage value, wherein the controller: applies a current to the electrical energy storage device and the converter at the time of starting up the shovel, and calculates a restriction cancel temperature at which output restriction on the electrical energy storage is to be canceled, based on the temperature at the time of starting up the shovel, the value of the internal resistance of the electrical energy storage device at the time of starting up the shovel, and a temperature internal resistance characteristic, the restriction cancel temperature being a temperature at which the internal resistance becomes smaller than or equal to a threshold; and wherein the controller then determines whether the temperature of the electrical energy storage device is greater than or equal to the restriction cancel temperature, and in a case where the temperature of the electrical energy storage device becomes greater than or equal to the restriction cancel temperature, cancels the output restriction on the electrical energy storage.