Set up the Pi to release the console pins
Start by logging into your Pi using a monitor/keyboard or via ssh
Run sudo shutdown -h now to shutdown your Pi safely.
Remove power, attach the GPS hat and re-power the Pi
After rebooting the Pi for the above changes to take effect, you can proceed with testing the GPS!