Before you return your MacBook
Back up your data.
If you need help transferring data, schedule an appointment at an Apple Authorized Service Provider or an Apple Store. It is your sole responsibility to back up all existing data, software, and/or programs from your product. Apple and The BuyBack Platform is not responsible for loss, recovery, or compromise of data, software, or programs on your trade-in product.
Sign out of iCloud on your Mac
In macOS Ventura or later:
Turn off your firmware password (if enabled)
How to turn off a firmware password
Start up from macOS Recovery. During startup, you will be prompted to enter the firmware password.
When the utilities window appears, click Utilities in the menu bar, then choose Startup Security Utility or Firmware Password Utility.
Click Turn Off Firmware Password.
Enter the firmware password again when prompted.
Quit the utility, then choose Apple menu > Restart.
Erase your hard disk.