As has been pointed out this is a complicated area of law and very difficult for even the best of legal professionals (IANAL) to assess without knowing more than what you shared.
What you should bear in mind is depending on the situation, the "offending" company that has been using the name in trade (because that's what we are really talking about here, right? not the name you have on incorporation documents
) while you were "taking a break," may actually have more rights to it than you...how's that for irony