Please Help Falling platform reset

I want my falling platform to reset when my player dies. but i have this script that the falling platform will reset in a allotted time after the player collides with it.

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class FallingPlatform : MonoBehaviour {

    private Rigidbody2D rbd;
    private BoxCollider2D boxcollider;

    public float fallplat;

    public float fallplaton;

    public bool isFalling = false;
   

    public Vector2 initialposition;

    private void Awake()
    {
        rbd = GetComponent<Rigidbody2D>();
        boxcollider = GetComponent<BoxCollider2D>();
        initialposition = transform.position;
    }

    private void OnCollisionEnter2D(Collision2D col)
    {
        if (col.gameObject.CompareTag("Player"))
        {
            Invoke("Fall", fallplat);
        }
    }

    void Fall()
    {
        rbd.isKinematic = false;
        boxcollider.isTrigger = true;
        isFalling = true;
    }


    void respawn()
      {
          StartCoroutine(respawnco());
      }


     IEnumerator respawnco()
      {
          yield return new WaitForSeconds(fallplaton);
          isFalling = false;
          rbd.isKinematic = true;
          boxcollider.isTrigger = false;
          transform.position = initialposition;
          rbd.velocity = Vector2.zero;
      }

     private void OnTriggerEnter2D(Collider2D col)
     {
         if(col.tag == "Death")
         {
                rbd.isKinematic = true;
                boxcollider.isTrigger = false;
                isFalling = false;
                respawn();
           
         }
     }

}

Is the falling platform the game object the causing the death of your player (e.g. falling on your player) or is the player walking over a platform that falls, therefore leading to possible death?