The main cause of petechiae in cases of traumatic asphyxia or Perte's syndrome comes from a severe compression injury causing an immediate compression of the thorax. It can be prevented by an immediate restoration of ventilation and decompression of the thorax through fluid replacement.
Comfort him, reassure him the reasons to stay. Talk about the positives of living. Do not pressure or guilt him on staying alive. Tell a trusted adult or school counselor.