I heard someone saying "Don't be" in response to "I am sorry". I wonder whether it is correct. Some native speakers said it was a mistake, however, some said it was correct. Is saying "Don't be" correct?
I am not a native speaker. But I think that it is correct.
Here, I quote from https://grammar.collinsdictionary.com/easy-learning/be :
"The verb be is used as an auxiliary verb and it can also be used as a main verb. ... The verb be is irregular. It has eight different forms: be, am, is, are, was, were, being, been. The present simple and past simple tenses make more changes than those of other verbs."
So, since we can use 'be' as a main verb, I think we can pair it with "don't" in a sentence.
Example: Don't cry. Don't run. Similarly, Don't be.