in extremis - definition and synonyms

adverb formal 

Your browser doesn’t support HTML5 audio

/ɪn ɪkˈstriːmɪs/
  1. 2
    at the moment when you are about to die