Small cell lung cancer (SCLC) is highly lethal due to its prevalent metastasis. Most SCLCs have inactivating mutations in TP53 and RB1. We find that loss of YAP expression is key for SCLC cells to acquire rapid ameboid migration and high metastatic potential. YAP functions through its target genes CCN1/CCN2 to inhibit SCLC ameboid migration. RB1 mutation contributes to YAP transcriptional silencing via E2F7, which recruits the RCOR co-repressor complex to YAP promoter. We discover that benzamide family HDAC inhibitors stimulate YAP expression by inhibiting the RCOR-HDAC complex, thereby suppressing SCLC metastasis and improving survival in a mouse model. Our study unveils the molecular and cellular basis underlying SCLCs high metastatic potential, the previously unrecognized role of YAP in suppressing ameboid migration and tumor metastasis, and the mechanism of YAP transcription regulation involving E2F7, RCOR, and Sin3 HDAC. This study reveals a therapeutic potential of benzamides for SCLC treatment.