Qashqai wrote:When I park uphill (front of the car is looking to the top) and shift the gear to Park and apply the parking brake, and remove my foot from the brake,...
I would say your steps are not in the right order if you want to use the parking brake to hold the car and not the gear pin (you are absolutely right about that part).
When you park, put your foot brake on first, then put the car in P. You can also move the shifter in N and release the brakes to be sure the car doesn't move and that the foot brake hold the car before putting the shifter in P.
Like that, the foot brake is the main system holding the car, the gear pin is there as a back up system.
I have noticed dependent which step you do first, the car would lean on the pin and not on the brakes. I, sometimes, have to redo the whole procedure again because I usually put the gear in P without thinking about it.