To embarrass (someone) greatly; to confuse; to perplex; to disconcert.
To defeat the plans or hopes of; to frustrate; disconcert.
make someone laugh on the other side of their face
How often have the words discomfit and make someone laugh on the other side of their face occurred in a corpus of books? (source: Google Ngram Viewer )