You have stated that you had taken 6 months break (not leave) therefore you cannot claim continuity of employment. No company will allow anyone 6 months break (other than maternity leave), they will definitely provide you a fresh appointment. You better check your employee code no. after your rejoining and also confirm whether you have withdrawn your PF accumulations or not. The only confusing thing is why your company had not paid your gratuity for 9 yrs.
Always provide full details while putting a query such as Designation, DOJ, salary etc.
Suresh 23rd May 2018 From India, Thane