A rescue system for retrieving a malfunctioning vehicle (240,340) from a rail system (108,308) of an automated storage and retrieval system, the rail system (108,308) comprising a plurality of rails with tracks extending in an X-direction and a plurality of rails with tracks extending in a Y-direction perpendicular to the X-direction, a plurality of remotely operated vehicles (201,301,340) configured to move in the X and Y-directions on the tracks of the rail system, - a first rescue vehicle configured to run on the tracks of the rail system (108,308), the first rescue vehicle being provided with a lifting device on one side of the vehicle, the lifting device facing for engagement in a first X-direction, and a part of the lifting device extending into a neighboring cell when the rescue vehicle (240,340) is positioned in center of a grid cell; - a second rescue vehicle configured to run on the tracks of the rail system (108,308), the second rescue vehicle being provided with a lifting device (108,308) on an opposite side of the vehicle, the lifting device facing for engagement in a second X-direction opposite to the first, and a part of the lifting device extending into a neighboring cell when the rescue vehicle is positioned in center of a grid cell; - wherein the first and second rescue vehicles are configured to work in tandem so that when one of the plurality of remotely operated vehicles (201,301,240,340) malfunctions, the first and second rescue vehicles can position themselves on the rail system (108,308) on opposite sides of the malfunctioning vehicle (240,340) to engage their respective lifting devices with the opposite sides of the malfunctioning vehicle (240,340) and operate their lifting devices simultaneously so as to lift the malfunctioning vehicle (240,340) off the rail system (108,308) and transport the malfunctioning vehicle (240,340). - a first rescue vehicle configured to run on the tracks of the rail system (108,308), the first rescue vehicle being provided with a lifting device on one side of the vehicle, the lifting device facing for engagement in a first X-direction, and a part of the lifting device extending into a neighboring cell when the rescue vehicle (240,340) is positioned in center of a grid cell; - a second rescue vehicle configured to run on the tracks of the rail system (108,308), the second rescue vehicle being provided with a lifting device (108,308) on an opposite side of the vehicle, the lifting device facing for engagement in a second X-direction opposite to the first, and a part of the lifting device extending into a neighboring cell when the rescue vehicle is positioned in center of a grid cell; - wherein the first and second rescue vehicles are configured to work in tandem so that when one of the plurality of remotely operated vehicles (201,301,240,340) malfunctions, the first and second rescue vehicles can position themselves on the rail system (108,308) on opposite sides of the malfunctioning vehicle (240,340) to engage their respective lifting devices with the opposite sides of the malfunctioning vehicle (240,340) and operate their lifting devices simultaneously so as to lift the malfunctioning vehicle (240,340) off the rail system (108,308) and transport the malfunctioning vehicle (240,340).