Hello XXXXXXX! Thanks for getting back to me, well let's see if this helps you. My guess is that you have an automatic transmission so here is a description of how to remove it and adjust it. It will show you where some points are for you to check and find where it has come loose:
Shift Cable Replacement Removal Procedure
Installation Procedure
Shift Cable Adjustment
Caution: With the selector lever in the PARK position, the parking pawl should freely engage within the rear reaction internal gear lugs or output ring hear lugs and prevent the vehicle from rolling, which could cause personal injury.
Chevy Mechanic
3 yrs experience, GM Trained,