News of the schoolboy's death was shared with 'much sadness' by leaders at the school where he died