Z height increase when cancelling print job

Hi,
When I cancel a print from octoprint, it just stops dead in its tracks.
Is there value if the extruder moves up on the Z axis after a cancelled print so that the print bed can be removed ?
This is normal behaviour on the Prusa when cancelling a print job without an octoprint
thanks & regards
Gavin

You can add gcode scripts in the settings menu

this is my cancel script

G91 ;Relative positioning
G1 Z10 ;Raise Z
G90 ;Absolute positionning
; disable motors
M84

;disable all heaters
{% snippet 'disable_hotends' %}
{% snippet 'disable_bed' %}
;slow fan
M106 S128
2 Likes