ubi: add new ubi command "ubi detach"