Hi Andrea,
Normally, the end routine will not get deleted when you change any characteristic , if this deleted characteristic is used in the routine then it would prompt an error that it is being used.
Or it might have prompted an message to delete the affected code when you deleted the characteristic.
You can try again by inserting the characteristic and try to put some code followed by deletion.
Also, it could be the case that this routine is not saved .
Try to go into change mode of the routine and check, some times if it becomes inactive, the end routine is not seen.
Was the end routine, tagged to a different transport request earlier? You can try to re transport the same request again from Dev box to Dev box . Even though i have not tried this you can give a try.
Hope it helps.
Thanks & regards,
Sudhir