How to connect to pi on new wi-fi ssid

I am moving the pi from one location to another, so will need to alter the ssid. But I can’t get command line access to the pi via a connected mouse and keyboard because Anthias starts on boot and I can’t find a series of keys to exit to a command line, and of course SSH won’t work until the network is connected.

Any suggestions?

I have found that F1 does work, but the image refresh doesn’t stop; so raspi-config does run and entered commands are displayed, so I can be used, but is a bit frustrating

@backfour94, let me check if modifying wpa_supplicant.conf still works.