Device with an endoscope comprising a shaft, wherein the shaft of the endoscope encloses a working channel that opens on one side of the shaft, wherein the device comprises an instrument (30, 30a, 30b, 30c) that is arranged so as to extend next to the shaft, wherein the device is configured in such a manner that an end section (32, 32a, 32b, 32c) of the instrument (30, 30a, 30b, 30c) containing a working section (34, 34a, 34b, 34c) of the instrument (30, 30a, 30b, 30c) can be moved along the shaft beyond the side of the shaft in order to move the working section (34, 34a, 34b, 34c) of the instrument (30, 30a, 30b, 30c) into a region opposite the side of the shaft so as to be able to work with the working section (34, 34a, 34b, 34c) in the region, wherein the instrument (30, 30a, 30b, 30c) is in engagement with a guiding element in order to guide the working section (34, 34a, 34b, 34c) of the instrument (30, 30a, 30b, 30c), when the end section (32, 32a, 32b, 32c) is being moved, beyond the side of the shaft, into the region, wherein the guiding element for guiding the working section (34, 34a, 34b, 34c) of the instrument (30, 30a, 30b, 30c) extends through the working channel, when the distal end section (32, 32a, 32b, 32c) is being moved beyond the side of the shaft, wherein the instrument (30, 30a, 30b, 30c) is a surgical instrument (30, 30a, 30b, 30c) which is movably coupled with the guiding element such that forward movement of the guiding element in the working channel in the longitudinal extension direction of the working channel towards the side is converted into movement of the working section (34, 34a, 34b, 34c) of the instrument (30, 30a, 30b, 30c) away from the side, and wherein the working section (30, 30a, 30b, 30c) can be rotated relative to the shaft about an axis extending along the longitudinal extension direction of the guiding element through the guiding element and can be pivoted about an axis extending transversely to the guiding element in order to change the orientation of the working sections (34a, 34b, 34c) arranged opposite the end face. wherein the device comprises an instrument (30, 30a, 30b, 30c) that is arranged so as to extend next to the shaft, wherein the device is configured in such a manner that an end section (32, 32a, 32b, 32c) of the instrument (30, 30a, 30b, 30c) containing a working section (34, 34a, 34b, 34c) of the instrument (30, 30a, 30b, 30c) can be moved along the shaft beyond the side of the shaft in order to move the working section (34, 34a, 34b, 34c) of the instrument (30, 30a, 30b, 30c) into a region opposite the side of the shaft so as to be able to work with the working section (34, 34a, 34b, 34c) in the region, wherein the instrument (30, 30a, 30b, 30c) is in engagement with a guiding element in order to guide the working section (34, 34a, 34b, 34c) of the instrument (30, 30a, 30b, 30c), when the end section (32, 32a, 32b, 32c) is being moved, beyond the side of the shaft, into the region, wherein the guiding element for guiding the working section (34, 34a, 34b, 34c) of the instrument (30, 30a, 30b, 30c) extends through the working channel, when the distal end section (32, 32a, 32b, 32c) is being moved beyond the side of the shaft, wherein the instrument (30, 30a, 30b, 30c) is a surgical instrument (30, 30a, 30b, 30c) which is movably coupled with the guiding element such that forward movement of the guiding element in the working channel in the longitudinal extension direction of the working channel towards the side is converted into movement of the working section (34, 34a, 34b, 34c) of the instrument (30, 30a, 30b, 30c) away from the side, and wherein the working section (30, 30a, 30b, 30c) can be rotated relative to the shaft about an axis extending along the longitudinal extension direction of the guiding element through the guiding element and can be pivoted about an axis extending transversely to the guiding element in order to change the orientation of the working sections (34a, 34b, 34c) arranged opposite the end face.