Airplane

Just like on iPhone, turn off the wireless features on your macOS anytime.