I wanted to try #Mobian #Trixie on my #Librem5 again as I got a way to go back to #pulseaudio to as a work around to missing echo cancellation support in #pipewire (Thanks to @dos ). So I went ahead and ran the usual apt dis-upgrade way (in hindsight, may be gnome software was a better option). But I got locked out of the session as upgrade was progressing. So I had to force shut down and then use #JumpDrive to repair it from my laptop.
I documented it in #debian wiki
https://wiki.debian.org/InstallingDebianOn/Purism/Librem5Phone#Using_JumpDrive_and_qemu_to_get_emergency_access_to_your_system
@praveen Check out reptyr - it should be able to help in such cases assuming you can still access via ssh.