A device for reversibly connecting a rehabilitation mechanism to a bed , in particular to a hospital bed that can be brought to a vertical position, the device at least comprising: - at least one connection element arranged on the rehabilitation mechanism ; - at least one receiving unit , which can be arranged at the side of and/or at the foot end of the bed ; - wherein the receiving unit corresponds in design to the connection element ; and - a transport means for transporting the rehabilitation mechanism toward the bed and away from the bed ; - wherein the transport means and/or the bed are/is height-adjustable; characterized in that - in use at a transverse side of the bed , a connection frame is arranged extending at least along a portion of the transverse side , which connection frame is mounted pivotably about a pivot axis with respect to the one or more receiving units ; - the at least one receiving unit or, in the case of several receiving units , at least one receiving unit comprises a locking device which is configured to come into operative connection with the connection frame ; - a trigger means is arranged on the transport means , for directly or indirectly interacting with the at least one receiving unit or, in the case of several receiving untits , with at least one receiving unit ; - and wherein the transport means is configured in such a way that, for releasing and for fixing the rehabilitation mechanism , it interacts with the at least one receiving unit or, in the case of several receiving units , with at least one receiving unit ; by virtue of the fact that, when the trigger means arranged on the transport means approaches the bed , it presses against a connection frame and, for fixing the rehabilitation mechanism in the receiving unit or units , while the transport means moves away from the bed , the pressure exerted by the trigger means on the locking device decreases. - at least one connection element arranged on the rehabilitation mechanism ; - at least one receiving unit , which can be arranged at the side of and/or at the foot end of the bed ; - wherein the receiving unit corresponds in design to the connection element ; and - wherein the receiving unit corresponds in design to the connection element ; and - a transport means for transporting the rehabilitation mechanism toward the bed and away from the bed ; - wherein the transport means and/or the bed are/is height-adjustable; - wherein the transport means and/or the bed are/is height-adjustable; - in use at a transverse side of the bed , a connection frame is arranged extending at least along a portion of the transverse side , which connection frame is mounted pivotably about a pivot axis with respect to the one or more receiving units ; - the at least one receiving unit or, in the case of several receiving units , at least one receiving unit comprises a locking device which is configured to come into operative connection with the connection frame ; - a trigger means is arranged on the transport means , for directly or indirectly interacting with the at least one receiving unit or, in the case of several receiving untits , with at least one receiving unit ; - and wherein the transport means is configured in such a way that, for releasing and for fixing the rehabilitation mechanism , it interacts with the at least one receiving unit or, in the case of several receiving units , with at least one receiving unit ; by virtue of the fact that, when the trigger means arranged on the transport means approaches the bed , it presses against a connection frame and, for fixing the rehabilitation mechanism in the receiving unit or units , while the transport means moves away from the bed , the pressure exerted by the trigger means on the locking device decreases. <EOS>