Harry and Draco knew being trapped in this cottage wasn't the best, but it's what they had to do. They were trapped, hiding out to escape the giant growing group of Death Eaters at Lucius's disposal. They knew hiding was weak, but until they knew how to proceed and that it was safe to do so, they stayed put.