Definition: Generate an appropriate title for the given text. The generated title must be short and include the main topic of the text. The preferred titles are under fifteen words.
Input: About 1,500 residents were removed from their homes on Thursday after the dam at Toddbrook Reservoir was damaged during heavy rain. Emergency services worked to repair the dam wall and lower water to safe levels to allow people to return. Derbyshire Police said it had been an "unprecedented crisis". But the immediate danger posed to Whaley Bridge and areas downstream in the Goyt Valley has now passed, according to the force. Deputy Chief Constable Rachel Swann said at 13:00 BST on Wednesday the evacuation order for Whaley Bridge and surrounding areas had been lifted. The danger posed by the dam "which would have destroyed homes and livelihoods, could not be underestimated", she added. Prime Minister Boris Johnson tweeted he was "pleased to hear" residents were returning and paid tribute to their "spirit and patience". The first person to walk through the cordon, Liz McCann, said: "We're home. That's what we wanted. We're all safe and we're all together so there's not a problem." The BBC's North of England correspondent Danny Savage said the evacuation "has taken an emotional toll" on residents. "At least two people I talked to were in tears," he said. Jennifer Grant, landlady at The Goyt Inn, said she was "relieved and pleased" to have been allowed home. "Thursday seems like a long time ago," she said. "It'll be good to catch up with everyone and hear their stories. We all survived." Resident Karen Edleston decided to get her hair cut soon after she returned to Whaley Bridge for the first time in six days. She said: "I was desperate to get my hair cut because I'm going to a wedding on Saturday and I didn't know where I would go if I didn't come back here. "So as soon as I realised it was open, I contacted [the hairdresser] and he agreed to come down." Another resident, Bernie Sharples said: "It's been an upsetting time but it's absolutely fantastic [to be back] - all the authorities, the police, all who helped get us back here - a big thank you to everybody." Margot Graham, who spoke to the BBC during the emergency when she was briefly allowed back to her house, was in tears as she returned permanently. "It's very, very emotional. It's an emotion I didn't expect to experience at all," she said. Camilla Dignan, of The Bridge Bakehouse, aims to open on Thursday despite having had to throw most of her existing stock away. She said: "We got the call [last] Thursday and it was literally just leave it, so it's a bit of a nightmare but we are glad to be back." Fifty-five households in Horwich End were allowed to return on Tuesday by police after a public meeting. The force and other agencies will help the remaining residents return to their homes on Wednesday, with police staying in the area over the next week "to help the community and address any concerns". The Environment Agency (EA) has confirmed measures in place at the dam mean emergency services "will be able to manage the levels of rain forecast". But it said further inspections will take place as there is still "significant" work to be done to bring the dam to a condition where "long-term safety can be assured". Malcolm Swets, manager of Goyt Wines, said he wanted to thank everyone involved in the emergency effort for the "professional way" they had gone about their business. He said: "Everyone's had their problems during the disruption but at the end of the day everybody's safe and nobody got hurt." Volunteers have set up a hub in the local primary school, offering household necessities, toiletries and snacks. Environment Agency officials are also there to answer questions about work in the area. Derbyshire County Council leader Barry Lewis said the authority would provide £160,000 of "additional funding" to help residents and businesses recover. Follow BBC East Midlands on Facebook, Twitter, or Instagram. Send your story ideas to eastmidsnews@bbc.co.uk.

Whaley Bridge dam: Evacuated residents can return home