How do I unbind a key and set it back to its default operations?

My first post on devforums!

ContextActionService:BindAction("PlayerInput", playerInput, false, Enum.KeyCode.W,Enum.UserInputType.Touch)

This will run the “BindAction” function every time the W key is pressed or the screen is touched on a touch screen.

When this happens the W key will no longer move the character forward and touching the screen will not move the camera. How do I reset it back to the game defaults for when I need to?

just unbind it, ContextActionService:Unbind("PlayerInput")

That was the first thing I tried and it didn’t work. I just did it again and it worked. I must of did something else wrong. Thanks for the help!