Hi. My name is***** you for your question and the opportunity to assist.
Have you tried unplugging the printer from the wall or power strip?
The printer, depending on how it's set up may have more than one cord going to it.
In either event, simply pulling the cord away from the machine should free it. They don't
lock into place.