You may pry open the faulty detector on the back side, then disconnect the cables from the battery in the middle.
You are welcome to complain about the smoke detector via our contact form (please upload a photo of the product label and proof of purchase).