Hii,
To do this, go to start menu > Settings > Bluetooth & devices > Printers > Select BROTHER HL-2270 and click Remove devices.
Here is the procedure to reconnect the printer to the Wi-Fi network if it is prompting for a connection.
https://support.brother.com/g/b/downloadtop.aspx?c=br&lang=pt&prod=hl2270dw_all
Download the Brother printer driver, run it as administrator, and follow the instructions.
Run the Autorun driver installation procedure to re-add the printer using the offline software.
While this is not a Microsoft website, it is the official site of [HL-2270/ BROTHER].
Thanks