mac無法關機_Mac無法關機時該怎么辦

mac無法關機

mac無法關機

MacBook Pro partially closed
Razvan Franco Nitoi/Shutterstock.com拉茲萬·佛朗哥·尼托伊/Shutterstock.com

Macs are like any other computer. Sometimes they won’t start up, and sometimes they won’t shut down. If your Mac is refusing to shut off, here’s how to shut it down anyway—and, hopefully, permanently fix the problem.

Mac與其他任何計算機一樣。 有時它們不會啟動,有時它們也不會關閉。 如果您的Mac拒絕關閉,則無論如何都可以通過以下方法將其關閉,并希望能夠永久解決該問題。

如何關閉Mac (How to Shut Down Your Mac)

Shutting down your Mac is as simple as clicking on the Apple logo on the menu bar at the top of your screen, then choosing “Shut Down…” followed by “Shut Down” in the box that appears. If you’re feeling particularly impatient, you can hold the Option button on your keyboard while clicking the menu option to prevent that confirmation box appearing at all.

關閉Mac非常簡單,只需單擊屏幕頂部菜單欄上的Apple徽標,然后在出現的框中選擇“ Shut Down…”,然后選擇“ Shut Down”。 如果您特別急躁,可以在單擊菜單選項的同時按住鍵盤上的Option按鈕,以防止該確認框出現。

macOS Shut Down Dialog

Once you’ve started the shutdown process, you need to wait. Even if you leave the box checked to “Reopen windows when logging back in” you’ll still have to wait for your currently-open applications and windows to close before your Mac shuts down.

啟動關閉過程后,您需要等待。 即使您選中了“重新登錄時重新打開窗口”復選框,您仍然必須等待當前打開的應用程序和窗口關閉,然后再關閉Mac。

Assuming your Mac won’t shut down, it’s time to try a few more things.

假設您的Mac無法關閉,是時候再嘗試一些事情了。

軟件可能會導致關機問題 (Software Can Cause Shut Down Issues)

Sometimes software can prevent your Mac from shutting down properly. Occasionally your Mac will notify you that “Application blocked shut down” and sometimes you won’t see any errors at all. First, try closing all of your applications by right-clicking (or two-finger clicking) on their icons in the dock, and choosing “Quit.”

有時,軟件可能會阻止Mac正常關閉。 有時,您的Mac會通知您“應用程序已阻止關閉”,有時您根本看不到任何錯誤。 首先,嘗試通過在擴展塢中的圖標上單擊鼠標右鍵(或兩指單擊)來關閉所有應用程序,然后選擇“退出”。

You can force quit any apps that aren’t responding or won’t close. Right-click (or two-finger click) the app’s icon, hold the Options key on your keyboard, then click “Force Quit” and the app should close. You can then try shutting down again.

您可以強制退出任何未響應或無法關閉的應用程序。 右鍵單擊(或兩指單擊)該應用程序的圖標,按住鍵盤上的Option鍵,然后單擊“強制退出”,該應用程序應關閉。 然后,您可以嘗試再次關閉。

Force Quit a macOS App

If this doesn’t work, it’s possible that a background process has crashed and is causing the issue. Open up Activity Monitor (hit Command + Spacebar then search for it) and click on the CPU tab. You can order the “% CPU” column by descending order to see if any apps are using a high amount of CPU power. If they are, click on them to highlight them, then click on the “X” at the top left to kill the process.

如果這不起作用,則可能是后臺進程崩潰并導致了問題。 打開活動監視器(單擊Command +空格鍵,然后搜索它),然后單擊CPU選項卡。 您可以按降序排列“%CPU”列,以查看是否有任何應用程序正在使用大量CPU。 如果是這樣,請單擊它們以突出顯示它們,然后單擊左上方的“ X”以終止該過程。

Other apps that may have crashed will be highlighted in red, followed by a label that says “(Not responding).” You’ll need to click on these then click on the “X” to kill them too. Assuming you’ve gotten rid of any errant processes, it’s time to try shutting down again.

其他可能已崩潰的應用程序將以紅色突出顯示,然后帶有一個標有“(無響應)”的標簽。 您需要單擊它們,然后單擊“ X”也將其殺死。 假設您擺脫了所有錯誤的流程,是時候嘗試再次關閉了。

拔下所有外圍設備 (Unplug Any Peripherals)

Peripherals may also cause issues when trying to shut down your Mac. For best results disconnect any attached peripherals and try again. If you’re using an iMac, you can try unplugging everything except your mouse or Magic Trackpad (though keyboards shouldn’t cause an issue).

嘗試關閉Mac時,外圍設備也會引起問題。 為了獲得最佳結果,請斷開所有連接的外圍設備,然后重試。 如果您使用的是iMac,則可以嘗試拔下除鼠標或Magic Trackpad以外的所有東西(盡管鍵盤應該不會引起問題)。

Safely remove any external drives by right-clicking on them and choosing “Eject [DISK]” or by clicking and dragging the volume to the Trash can. If you can’t get a drive to eject, then you may have found your issue. You may see a new window pop up with a choice to “Force Eject…” which you can try.

右鍵單擊所有外部驅動器,然后選擇“彈出[DISK]”,或者將其拖動并拖到垃圾箱即可安全地刪除所有外部驅動器。 如果無法彈出驅動器,則可能是您發現了問題。 您可能會看到一個新窗口彈出,您可以嘗試選擇“強制彈出...”。

Force Eject a Volume in macOS with Terminal

Otherwise, you can force eject via the Terminal with the following command (replace “DISK” with whatever your drive is called):

否則,您可以使用以下命令通過終端強制彈出(將“ DISK”替換為您的驅動器):

diskutil unmountDisk force /Volumes/DISK

To get a list of attached drives run this command first:

要獲取已連接驅動器的列表,請首先運行以下命令:

diskutil list

如果其他所有方法均失敗:強制重新啟動Mac (When All Else Fails: Force Restart Your Mac)

If your Mac still won’t shut down, the only thing left to do is to figuratively “pull the plug” and force a shutdown. This works on both desktop Macs and MacBooks. To do this, first press and hold the Control and Command keys, then hold the Mac’s power button.

如果您的Mac仍然無法關閉,那么剩下要做的就是以象征性的方式“拔下插頭”并強制關閉。 這適用于臺式機Mac和MacBook。 為此,請先按住Control和Command鍵,然后按住Mac的電源按鈕。

If you don’t have a power button, then you’ll need to hold Control and Command plus the Eject button or the Touch ID button instead. Keep the button held down for around 10 seconds, after which your Mac’s screen should go black. Wait about 30 seconds before starting your machine up again.

如果沒有電源按鈕,則需要按住Control和Command加上Eject按鈕或Touch ID按鈕。 按住按鈕約10秒鐘,然后Mac的屏幕將變黑。 等待約30秒鐘,然后再次啟動計算機。

Note: This should only be used as a last resort. The shutdown process is put in place to protect core system files that should always be properly closed before the machine powers off. Your Mac will likely function just fine after a forced restart, but there is always a risk in doing this.?If something went wrong and your Mac will no longer start up, learn how to fix a Mac that won’t boot.

注意:這只能用作不得已的方法。 關機過程已經到位,以保護核心系統文件,在關閉機器電源之前應始終將其正確關閉。 強制重啟后,Mac可能會正常運行,但是這樣做總是有風險的。 如果出現問題并且Mac無法再啟動,請學習如何修復無法啟動的Mac 。

A restart will fix the vast majority of problems that prevent your Mac from shutting down properly. If this problem becomes more frequent, you’ll need to get to the source of the issue with the steps below.

重新啟動將解決導致Mac正常關閉的絕大多數問題。 如果此問題變得更加頻繁,則需要使用以下步驟來找到問題的根源。

防止將來出現關機問題 (Preventing Shut Down Problems in Future)

If the issue is being caused by software, you can take some steps towards rectifying it. If an app was stopping your shut down procedure, try checking for software updates that may fix the issue. You may want to ditch the app in favor of an alternative if such an option exists.?Try restarting your Mac?without?first running the problem software.

如果問題是由軟件引起的,則可以采取一些措施來糾正它。 如果某個應用正在停止關閉過程,請嘗試檢查可能解決了該問題的軟件更新。 如果存在這樣的選項,您可能希望放棄該應用程序,轉而使用其他選項。 在首先運行問題軟件的情況下,嘗試重新啟動Mac。

macOS Software Update

macOS also needs to be regularly updated to keep on top of issues. You can check for software updates under?System Preferences > Software Update. While you’re there, you can enable automatic updates by clicking on “Advanced…” then checking the relevant boxes.

macOS還需要定期更新以保持最新狀態。 您可以在系統偏好設置>軟件更新下檢查軟件更新。 當您在那里時,可以通過單擊“高級...”然后選中相關復選框來啟用自動更新。

進入安全模式 (Boot into Safe Mode)

Restarting your Mac in safe mode may also help stop the problem from happening again in the future. When you start your Mac in safe mode, the startup disk is scanned for issues and macOS will try to fix any problems that are detected. Safe mode also deletes font, kernel, and system caches, along with a few other things.

以安全模式重新啟動Mac也可能有助于防止將來再次發生此問題。 在安全模式下啟動Mac時,將掃描啟動盤中的問題,macOS將嘗試修復檢測到的所有問題。 安全模式還會刪除字體,內核和系統緩存,以及其他一些內容。

To boot your Mac into safe mode:

要將Mac引導到安全模式:

  1. Turn your Mac off (you may need to force shut down).

    關閉您的Mac(您可能需要強行關閉)。
  2. Press the power button then immediately press and hold the Shift key (either one).

    按下電源按鈕,然后立即按住Shift鍵(任一鍵)。
  3. Release the Shift key when you see the login window and log in as usual.

    當您看到登錄窗口時,松開Shift鍵,然后照常登錄。

When you restart your computer, it will boot back into regular mode. Safe mode isn’t the only alternative startup mode for your Mac, check out the full list of macOS boot modes and what they’re used for.

重新啟動計算機后,它將重新引導回常規模式。 安全模式不是Mac唯一的替代啟動模式,請查看macOS引導模式的完整列表以及它們的用途。

重置您的SMC和PRAM / NVRAM (Reset Your SMC and PRAM/NVRAM)

The System Management Controller (SMC) is responsible for low-level functions on your Mac, including power management, battery charging, and keyboard backlighting. Sometimes power issues can be caused by the SMC, so it makes sense to try resetting the SMC if you’re having chronic shut down problems.

系統管理控制器(SMC)負責Mac上的低級功能,包括電源管理,電池充電和鍵盤背光。 有時,電源問題可能是由SMC引起的,因此,如果您遇到長期關機問題,嘗試重置SMC是有意義的。

The process is straightforward but differs depending on whether you have a MacBook with an internal battery, a MacBook with a removable battery, or a desktop computer like an iMac. Find out how to reset the SMC on your particular Mac.

該過程很簡單,但是根據您所使用的是帶有內置電池的MacBook,帶可移動電池的MacBook還是臺式機(如iMac)而有所不同。 了解如何在特定Mac上重置SMC 。

macOS Keyboard Shortcut for Resetting NVRAM/PRAM
apple.com
apple.com

Nonvolatile RAM (NVRAM) or Parameter RAM (PRAM) is used by your Mac to store settings like startup disk preference, display resolution, and time zone information. It’s unlikely that NVRAM/PRAM will affect how your Mac shuts down, but if you’re still having issues at this stage, it’s probably worth a shot.

Mac使用非易失性RAM(NVRAM)或參數RAM(PRAM)來存儲諸如啟動磁盤首選項,顯示分辨率和時區信息之類的設置。 NVRAM / PRAM不太可能影響Mac關閉的方式,但是如果您在此階段仍然遇到問題,那么可能值得一試。

The process for resetting this memory is the same across the board:

重置此內存的過程全盤相同:

  1. Make sure your Mac is powered off.

    確保您的Mac已關閉電源。
  2. Press and release the power button (or Touch ID button on some MacBooks) then immediately press and hold Option + Command + P + R on your keyboard.

    按下并釋放電源按鈕(或在某些MacBook上為Touch ID按鈕),然后立即按住鍵盤上的Option + Command + P +R。
  3. After around 20 seconds you can release these keys, and your Mac should start up as usual.

    大約20秒鐘后,您可以釋放這些鍵,并且Mac應該照常啟動。

After resetting NVRAM/PRAM, you may need to adjust settings like display resolution, startup disk, and time zone. Now try to restart or shut down your Mac normally to see if you still have issues.

重置NVRAM / PRAM后,您可能需要調整顯示分辨率,啟動磁盤和時區等設置。 現在,嘗試正常重啟或關閉Mac,以查看是否仍有問題。

仍然有問題嗎? 嘗試核選項 (Still Got Problems? Try the Nuclear Option)

When all else fails, you can always format your drive and reinstall macOS. You should first back up your Mac with Time Machine?to save your files. Avoid using any third-party disk cloning software for backing up (we’re after a clean install after all).

當其他所有方法均失敗時,您始終可以格式化驅動器并重新安裝macOS。 您首先應該使用Time Machine備份Mac以保存文件。 避免使用任何第三方磁盤克隆軟件進行備份(畢竟我們是在全新安裝后)。

You can then follow the instructions to delete macOS and reinstall the operating system from scratch. Remember that you’ll need to restore your Time Machine backup and reinstall any software you want once you’ve done so. This isn’t a quick process, so set aside an hour or two before you start.

然后,您可以按照說明刪除macOS并從頭開始重新安裝操作系統。 請記住,完成此操作后,您將需要還原Time Machine備份并重新安裝所需的任何軟件。 這不是一個快速的過程,因此請在開始之前預留一兩個小時。

A fresh install should clear up the issue for good. It can also solve other problems caused by leftover kernel extensions and partially uninstalled software. You may notice your Mac is faster and you’ll have plenty of free space too.

全新安裝應該可以徹底解決問題。 它還可以解決由剩余內核擴展和部分卸載的軟件引起的其他問題。 您可能會注意到Mac速度更快,并且還有足夠的可用空間。

翻譯自: https://www.howtogeek.com/437844/what-to-do-when-your-mac-wont-shut-down/

mac無法關機

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/278479.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/278479.shtml
英文地址,請注明出處:http://en.pswp.cn/news/278479.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

數串

數串 題目描述 設有n個正整數,將他們連接成一排,組成一個最大的多位整數。 如:n3時,3個整數13,312,343,連成的最大整數為34331213。 如:n4時,4個整數7,13,4,246連接成的最大整數為7424613。 輸入描述: 有多組測試樣例,每組測試樣…

chromebook刷機_如何在Chromebook上拍照

chromebook刷機Your Chromebook comes equipped with a built-in camera you can use to snap pictures to post to your social media accounts or share with friends and family. Here’s how to take a photo on a Chromebook. 您的Chromebook配備了一個內置攝像頭&#xf…

樹和二叉樹簡介

一、樹 1、什么是樹? 樹狀圖是一種數據結構,它是由n(n>1)個有限節點組成一個具有層次關系的集合。把它叫做“樹”是因為它看起來像一棵倒掛的樹,也就是說它是根朝上,而葉朝下的。它具有以下的特點&#…

對eventloop的研究

javasctipt是一門單線程的非阻塞的腳本語言,單線程意味著,JavaScript 單線程意味著,javascript代碼在執行的任何時候,都只有一個主線程來處理所有的任務。 JavaScript的事件分兩種,宏任務(macro-task)和微任務(micro-t…

【SSH高速進階】——struts2簡單的實例

近期剛剛入門struts2。這里做一個簡單的struts2實例來跟大家一起學習一下。 本例實現最簡單的登陸,僅包括兩個頁面:login.jsp 用來輸入username與password;success.jsp 為登陸成功頁面。error.jsp為登陸失敗頁面。 1、新建web項目“struts2”…

《智能家居》培訓第六天------2019-01-10

目錄: 一)攝像頭 二)照明 三)所想 四)總結 一)攝像頭 攝像頭這塊學了跟沒學一樣我覺得,攝像頭給的api,yuyv轉rgb24也是給的api,總而言之就是,直接給了兩個源文…

在Linux上按大小列出文件和目錄

This page will show us how to create a list of files and folders ordered by size using standard Linux commands. 該頁面將向我們展示如何使用標準Linux命令創建按大小排序的文件和文件夾列表。 命令 (Command) To get a list with the size of each item in a folder, y…

記一次kafka數據丟失問題的排查

2019獨角獸企業重金招聘Python工程師標準>>> 數據丟失為大事,針對數據丟失的問題我們排查結果如下。 第一:是否存在數據丟失的問題? 存在,且已重現。 第二:是在什么地方丟失的數據,是否是YDB…

Maximum upload size exceede上傳文件大小超出解決

在這里記錄三種方法, 努力提高自己的姿勢水平 application.yml配置spring:servlet:multipart:enabled: truemax-file-size: 10MB #單個文件最大大小max-request-size: 1024MB #上傳數據總大小 application.properties配置spring.servlet.multipart.max-file-size10Mb #單個文件…

ipad iphone開發_如何在iPhone或iPad上更改應用程序的語言

ipad iphone開發BigTunaOnline/Shutterstock.comBigTunaOnline / Shutterstock.comApple’s iOS 13 makes the iPhone and iPad multilingual. Now, you can change the language of an individual app without changing your primary system language. Each app can have its …

Docker最全教程——從理論到實戰(七)

Docker最全教程——從理論到實戰(七) 原文:Docker最全教程——從理論到實戰(七)在本系列教程中,筆者希望將必要的知識點圍繞理論、流程(工作流程)、方法、實踐來進行講解,而不是單純…

Bash Cookbook 學習筆記 【中級】

Read Me 本文是以英文版<bash cookbook> 為基礎整理的筆記&#xff0c;力求脫水2018.01.21 更新完【中級】。內容包括工具、函數、中斷及時間處理等進階主題。本系列其他兩篇&#xff0c;與之互為參考 【基礎】內容涵蓋bash語法等知識點。傳送門【高級】內容涉及腳本安全…

設置Windows 10時如何創建本地帳戶

Windows 10 tries its hardest to make you use a Microsoft account. The option was already hidden, but now it’s not even offered on Windows 10 Home while you’re connected to the internet. Here’s how to create a local account anyway. Windows 10盡最大努力使…

HSQL

Hive的數據存儲  1、Hive中所有的數據都存儲在 HDFS 中&#xff0c;沒有專門的數據存儲格式&#xff08;可支持Text&#xff0c;SequenceFile&#xff0c;ParquetFile&#xff0c;RCFILE等&#xff09;  2、只需要在創建表的時候告訴 Hive 數據中的列分隔符和行分隔符&…

在PowerPoint 2010中將鼠標用作激光筆

Have you ever wished you had a laser pointer to focus attention on a key point in a PowerPoint slideshow? Today, we’ll take a look at how can use use your mouse as a laser pointer in PowerPoint 2010. 您是否曾經希望激光指示器能將注意力集中在PowerPoint幻燈…

Java 8 并發: 原子變量和 ConcurrentMap

原文地址: Java 8 Concurrency Tutorial: Atomic Variables and ConcurrentMap AtomicInteger java.concurrent.atomic 包下有很多原子操作的類。 在有些情況下&#xff0c;原子操作可以在不使用 synchronized 關鍵字和鎖的情況下解決多線程安全問題。 在內部&#xff0c;原子類…

this表示當前對象簡單實例

直接上代碼 class Message { private Channel channel ; // 保存消息發送通道 private String title ; // 消息標題 private String content ; // 消息內容 // 4、調用此構造實例化&#xff0c;此時的channel 主類ch public Message(Channel channel,String title,String cont…

twitter推文不收錄_如何使用Twitter書簽保存推文供以后使用

twitter推文不收錄Khamosh PathakKhamosh PathakTwitter has a new Bookmarks feature that lets you privately save tweets for later. If you’ve been using the Like feature as a workaround for saving tweets, here’s why you should start bookmarking. Twitter具有一…

if的作用域問題 *輸出1~6的隨機數*

1 //測試if語句2 public class TestIf {3 public static void main(String[] args){4 double d Math.random();//0~1之間的小數5 int e (int)(d*5); //[0,4]6 //int f 1(int)(d*6); //[1,6] 擲色子7 System.out.println(e);8 …

為您的Blogger博客設計一個美麗的新主題

Would you like to give your Blogger blog a fresh coat of paint with a new theme? Here’s how you can use the new Template Designer to make your Blogger site stand out from the crowd and look great. 您想給Blogger博客一個新的主題嗎&#xff1f; 您可以通過以…