It is not illegal to take eggs from a fish and release it.
From the Ask a C.O. site:
Question 125:
Regarding the collection of trout/salmon roe for personal use as bait. Is it legal to partially "strip" a female salmon or trout of roe then return the fish to the river, providing the fish has been caught legally? It seems that this activity would fall under molesting or harrassing the fish but the alternative, killing the fish for the eggs, seems even worse.
Asked June 28/00
Answer from the MNR
There is nothing in the Fisheries Act or the Ontario Fishery Regulations which prohibits this particular activity. Personally, if I was taken out of my natural elements and stripped of my eggs, chances are I would consider myself molested!! On the other hand, there is no provision in the law with regard to molesting or harassing fish. However, you should be aware that chances are that such a fish, after the handling is likely going to die anyway.
That being said, eggs, by definition, are fish. While we have never limited the number of roe sacs which one may possess from legally taken fish, when you handle the fish as you have indicated that fish is deemed to be 'captured and retained'. Therefore each fish that you perform this activity upon would be considered part of your daily limit.
Ask A C.O.