Your comments

Use a timer that receives unscaledDeltaTime, when the timer reaches the value you want (5 seconds), stop rewinding time

check the pseudo code below

float timer = 0;

Update(){

     timer += unscaledDeltaTime

     if(timer > 5){

        stop rewinding

    }

}