Barry, just in the finale, gave himself up to be locked away in the speedforce. He made the move to reverse his mistake of creating flashpoint by allowing his mom to be murdered, which he knew would lead to the murder of his dad. He admitted this all to his team and gave them the choice on whether he would tell them…