Investigating the disappearance of a massive star in a distant galaxy