If you are released after 15 days, the public security organ should have imposed administrative punishment on your friend. Administrative detention is the final punishment result, and it should be a fine after implementation.
If it is a criminal detention, it should be that the procuratorate did not approve the arrest and is now in a state of bail pending trial.