A refrigerator comprising: a cabinet that defines a storage space; a door configured to open and close at least a portion of the storage space; a shelf assembly comprising a shelf support arm fixed to an inside of the cabinet, and a shelf that is slidably connected to the shelf support arm; and a withdrawing mechanism configured to allow the shelf to be withdrawn forward based on the door being opened, the withdrawing mechanism comprising: a sliding member that is disposed at a side surface of the cabinet, that is configured to move in a front-rear direction of the cabinet, and that defines a receiving groove, a link that connects the door to the sliding member and that is configured to cause the sliding member to move in the front-rear direction based on movement of the door, the link having a front end connected to the door and a rear end connected to the sliding member, and a connector configured to connect the sliding member to the shelf, the connector comprising: a connecting bar protruding out of the shelf assembly that is configured to be selectively inserted into the receiving groove and that is configured to be movable in a lateral direction of the cabinet, a guide that is configured to surround a part of the connectingbar and to guide the connecting bar to move in a lateral direction of the cabinet, an actuating bar that is configured to insert the connecting bar into the interior of the guide and that is configured to move in the front-rear direction, wherein the connecting bar protrudes toward the side of the shelf assembly and is selectively inserted in the receiving groove; and wherein the connecting bar is configured to be accommodated in a receiving space defined in the guide. a cabinet that defines a storage space; a door configured to open and close at least a portion of the storage space; a shelf assembly comprising a shelf support arm fixed to an inside of the cabinet, and a shelf that is slidably connected to the shelf support arm; and a withdrawing mechanism configured to allow the shelf to be withdrawn forward based on the door being opened, the withdrawing mechanism comprising: a sliding member that is disposed at a side surface of the cabinet, that is configured to move in a front-rear direction of the cabinet, and that defines a receiving groove, a link that connects the door to the sliding member and that is configured to cause the sliding member to move in the front-rear direction based on movement of the door, the link having a front end connected to the door and a rear end connected to the sliding member, and a connector configured to connect the sliding member to the shelf, the connector comprising: a connecting bar protruding out of the shelf assembly that is configured to be selectively inserted into the receiving groove and that is configured to be movable in a lateral direction of the cabinet, a guide that is configured to surround a part of the connectingbar and to guide the connecting bar to move in a lateral direction of the cabinet, an actuating bar that is configured to insert the connecting bar into the interior of the guide and that is configured to move in the front-rear direction, wherein the connecting bar protrudes toward the side of the shelf assembly and is selectively inserted in the receiving groove; and wherein the connecting bar is configured to be accommodated in a receiving space defined in the guide. a sliding member that is disposed at a side surface of the cabinet, that is configured to move in a front-rear direction of the cabinet, and that defines a receiving groove, a link that connects the door to the sliding member and that is configured to cause the sliding member to move in the front-rear direction based on movement of the door, the link having a front end connected to the door and a rear end connected to the sliding member, and a connector configured to connect the sliding member to the shelf, the connector comprising: a connecting bar protruding out of the shelf assembly that is configured to be selectively inserted into the receiving groove and that is configured to be movable in a lateral direction of the cabinet, a guide that is configured to surround a part of the connectingbar and to guide the connecting bar to move in a lateral direction of the cabinet, an actuating bar that is configured to insert the connecting bar into the interior of the guide and that is configured to move in the front-rear direction, wherein the connecting bar protrudes toward the side of the shelf assembly and is selectively inserted in the receiving groove; and wherein the connecting bar is configured to be accommodated in a receiving space defined in the guide. a connecting bar protruding out of the shelf assembly that is configured to be selectively inserted into the receiving groove and that is configured to be movable in a lateral direction of the cabinet, a guide that is configured to surround a part of the connectingbar and to guide the connecting bar to move in a lateral direction of the cabinet, an actuating bar that is configured to insert the connecting bar into the interior of the guide and that is configured to move in the front-rear direction, wherein the connecting bar protrudes toward the side of the shelf assembly and is selectively inserted in the receiving groove; and wherein the connecting bar is configured to be accommodated in a receiving space defined in the guide.