Ask an Immigration Solicitor. Get an Answer ASAP.
Thank you for your enquiry.
If you have a continuous period of 10 years lawful residence in the UK and the 6 months gap is outside this 10 years then you shouldn't be afraid.
The best thing to do is to write a covering letter and also explain why you were away for 6 months.