John Samuel had gone to buy some medicine for his poorly child, the court heard