Yes, you will still get the gratuity amount if the company shuts down. The gratuity amount is a statutory liability of the employer, and it cannot be waived even if the company shuts down.