def METHOD_NAME(self) -> None:
    """@brief Uninitialize the board."""
    if self._inited:
        LOG.debug("uninit board %s", self)
        resume = self.session.options.get('resume_on_disconnect')
        self.target.disconnect(resume)
        self._inited = False