Last year 32,446 people subject to immigration control in the UK were detained by the government. Some had entered the country irregularly and were quickly removed. Others were detained pending removal or deportation. More than half of them were released back into the community, meaning that their detention had served no purpose.
https://ukhumanrightsblog.com/2016/06/13/families-separated-for-immigration-purposes/