We study the evolution of a rigidly rotating protoneutron star (PNS) with hyperons and nucleons or solely nucleons in its core due to the escape of trapped neutrinos. As the neutrinos escape, the core nucleonic neutron star (NS) expands and the stellar rotation slows. After the neutrinos escape, the range of the spin periods is narrower than the initial one, but the distribution is still nearly uniform. A PNS with hyperons, at the late stage of its evolution, keeps shrinking and spinning up until all the trapped neutrinos escape. Consequently, the distribution of the stellar initial spin periods is skewed towards shorter periods. If the hyperonic star is metastable, its rotational frequency accelerates distinguishedly before it collapses to a black hole.