There is always an opportunity to teach.
A failed attempt.
A bad deployment.
A missed requirement.
A wrong code path.
A performance review gon awry.
A deadline missed.
The question is whether you are going to turn all those opportunities into a moment or let them pass you by for someone else to take the lead and do so.