GameObject stuck after changing position

I have a problem, in the script i am trying to move the player back to his spawn position after he hit a trigger but after that the player just het stuck at the spawn position and doesn’t move or react to inpute
script below

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

public class PlayerControl : MonoBehaviour
{

    private float horizontalInput;
    private float verticalInput;
    [SerializeField] private float speed = 5.0f;
    private Rigidbody playerRb;
    private CameraChange cameraChange;
    private ReSpawneScript reSpawneScript;
    private Vector3 startPos;

    void Start()
    {
        playerRb = GetComponent<Rigidbody>();
        cameraChange = GameObject.Find("Change Camera Triger").GetComponent<CameraChange>();
        reSpawneScript = GameObject.Find("ReSpawnTriger").GetComponent<ReSpawneScript>();
        startPos = GameObject.Find("Start Position").transform.position;
    }

    void Update()
    {
        if(cameraChange.isOnPlayerCam && !cameraChange.isOnSecondCam)
        {
            horizontalInput = Input.GetAxis("Horizontal");
            verticalInput = Input.GetAxis("Vertical");

            playerRb.AddForce(new Vector3(horizontalInput, 0, verticalInput) * speed);
        }

        if (reSpawneScript.isOnTrigger)
        {
            transform.position = startPos;
            cameraChange.isOnSecondCam = false;
            cameraChange.isOnPlayerCam = true;

        }
    }
}

thanks in advance and if you need the other scripts i will send them.