A system for engaging and disengaging a running tool (302, 702, 802) with a liner (280, 300, 400) in a downhole system comprising: a liner (280, 300, 400) disposed in a borehole, the liner (280, 300, 400) having at least one running tool engagement section including one or more liner anchor cavities (308, 310); and a running tool (302, 702, 802) disposed within the liner (280, 300, 400), the running tool (302, 702, 802) having at least one engagement module (312, 314) that is operable to move an anchor (316, 318, 816) from a disengaged position to an engaged position and from an engaged position to a disengaged position; characterised by: an electronics module disposed at least one of in or on the at least one engagement module (312, 314); and a position detection system configured to detect relative positions of the liner (280, 300, 400) and the running tool (302, 702, 802), the position detection system comprising: a marker installed within the liner (280, 300, 400); and a sensor in the running tool (302, 702, 802) and configured to detect the marker; the position detection system configured to communicate the detection of the marker to the electronics module, wherein, once the detection of the marker is communicated to the electronics module, the anchor (316, 318, 816) is movable into engagement with one of the one or more liner anchor cavities (308, 310). a liner (280, 300, 400) disposed in a borehole, the liner (280, 300, 400) having at least one running tool engagement section including one or more liner anchor cavities (308, 310); and a running tool (302, 702, 802) disposed within the liner (280, 300, 400), the running tool (302, 702, 802) having at least one engagement module (312, 314) that is operable to move an anchor (316, 318, 816) from a disengaged position to an engaged position and from an engaged position to a disengaged position; characterised by: an electronics module disposed at least one of in or on the at least one engagement module (312, 314); and a position detection system configured to detect relative positions of the liner (280, 300, 400) and the running tool (302, 702, 802), the position detection system comprising: a marker installed within the liner (280, 300, 400); and a sensor in the running tool (302, 702, 802) and configured to detect the marker; the position detection system configured to communicate the detection of the marker to the electronics module, wherein, once the detection of the marker is communicated to the electronics module, the anchor (316, 318, 816) is movable into engagement with one of the one or more liner anchor cavities (308, 310). an electronics module disposed at least one of in or on the at least one engagement module (312, 314); and a position detection system configured to detect relative positions of the liner (280, 300, 400) and the running tool (302, 702, 802), the position detection system comprising: a marker installed within the liner (280, 300, 400); and a sensor in the running tool (302, 702, 802) and configured to detect the marker; the position detection system configured to communicate the detection of the marker to the electronics module, wherein, once the detection of the marker is communicated to the electronics module, the anchor (316, 318, 816) is movable into engagement with one of the one or more liner anchor cavities (308, 310). a marker installed within the liner (280, 300, 400); and a sensor in the running tool (302, 702, 802) and configured to detect the marker; the position detection system configured to communicate the detection of the marker to the electronics module, wherein, once the detection of the marker is communicated to the electronics module, the anchor (316, 318, 816) is movable into engagement with one of the one or more liner anchor cavities (308, 310).