Some residents were trapped