Lê Văn Khôi revolt broke out in 1833, Mạc Công Du, Mạc Công Tài, their sons Mạc Hầu Hy (鄚侯熺) and Mạc Hầu Diệu (鄚侯耀), accepted official posts from rebels. All of them were arrested and taken to Huế. In the same year, Mạc Công Du and Mạc Công Tài died in prison. Later, Mạc Hầu Hy fled to Siam.