You may be able to apply to the court for an order entitling you to contact with your grandchild, although you would need to seek the permission of the court to do so. You should speak to a family law solicitor and discuss with them the best course of action.