Looking at the adjacent one I suspect the plug corroded on the coolant side until it did not have enough structure to keep secure.
Clean the hole. Buy a new plug, put an anaerobic sealant like Loctite 518 around the edge of the cup before forcing it into place.
I see the hard JB weld not dealing with the cast iron head and sheet metal cup's relative expansion and contraction in the long term.
The WSM may suggest another sealant. and should be checked as the preferred one to use.
If as I suspect the cups/plugs are corroding on the coolant side, all of them will be in about the same state and replacing them now might be prudent.
There are two different sizes as shown below. 12 of the smaller ones and 1 of the larger.
Dave