Leading Teams is not an easy endeavour.
Nothing ever goes perfectly well and the person to blame will always be the leader.
If you can handle and shoulder that blame as you take on a new challenge, as you pick up your feet and try again.
You have the makings of a leader, that is in short supply, that your team needs.