 The spermatophores usually remain embedded near the mouth of the female . Mating usually occurs well before spawning , but may also happen on the spawning grounds themselves . In those cases , the male will stay near the female 's side as she lays eggs . 
