Q.Tree Became Too Dry And Lost Almost All Leaves. Remove Flowers?
I had to abandon my potted olive tree. It was very hot and lost nearly all its leaves. There were many flowers and they are either completely dead, or else they appear to be in a tight brown bud. There are a number of live, green leaves. What should I do? I attempted to attach pictures. Thank you very much.

Certified GKH Gardening Expert
You may not be able to save your tree, depending upon how deep the damage is. You will need to consult with a certified arborist to be sure. This article discusses how to tell if the tree has died: https://www.gardeningknowhow.com/ornamental/trees/tgen/tree-scratch-test.htm
You can try trimming away the dead branches, leaves and buds, but pruning it severely now will cause more stress if it's still alive.