Z height increase when cancelling print job

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

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

;disable all heaters
{% snippet 'disable_hotends' %}
{% snippet 'disable_bed' %}
;slow fan
M106 S128
1 Like