def METHOD_NAME(self, mode=None):
    args = ('-r', '-f', 'raw', '-c', 'read 0 512', nbd_uri)
    self.assertReadOk(qemu_io(*args))
    result = self.remove_export('exp', mode)
    self.assert_qmp(result, 'return', {})
    self.assertExportNotFound('exp')
    self.assertConnectFailed(qemu_io(*args))